/frameworks/base/core/java/android/hardware/hdmi/ |
HdmiTimerRecordSources.java | 39 * <li>[Month of Year] 258 * @param monthOfYear month of year 280 "Month of year should be in range of [1, 12]:" + monthOfYear); 298 * <li>[Month of Year] 317 /** Month of year. */ 350 // [Month of Year] 395 // Basic infos including [Day of Month] [Month of Year] [Start Time] [Duration]
|
/frameworks/base/core/java/android/widget/ |
DayPickerView.java | 173 final int diffYears = end.get(Calendar.YEAR) - start.get(Calendar.YEAR); 500 final int year = firstVisiblePosition / 12 + mMinDate.get(Calendar.YEAR); local 502 day.set(year, month, 1); 509 day.add(Calendar.YEAR, 1); 521 day.add(Calendar.YEAR, -1);
|
SimpleMonthView.java | 318 * @param year the year. 324 void setMonthParams(int selectedDay, int month, int year, int weekStart, int enabledDayStart, 335 mYear = year; 344 mCalendar.set(Calendar.YEAR, mYear); 375 private static int getDaysInMonth(int month, int year) { 391 return (year % 4 == 0) ? 29 : 28; 410 return mYear == today.year && 565 if ((day.get(Calendar.YEAR) != mYear) || (day.get(Calendar.MONTH) != mMonth) || 672 * specificity as DAY MONTH YEAR [all...] |
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/text/ |
Support_SimpleDateFormat.java | 76 t_FormatWithField(1, format, date, null, Field.YEAR, 6, 10); 107 t_FormatWithField(25, format, date, null, Field.YEAR, 0, 0); 161 v.add(new FieldContainer(0, 4, Field.YEAR)); 177 v.add(new FieldContainer(18, 22, Field.YEAR)); 210 v.add(new FieldContainer(6, 10, Field.YEAR)); 211 v.add(new FieldContainer(11, 13, Field.YEAR)); 212 v.add(new FieldContainer(14, 18, Field.YEAR));
|
/packages/apps/Gallery2/src/com/android/gallery3d/data/ |
TimeClustering.java | 402 // The items are from the same year - show at least as 409 // current year. 412 // Contains the year only if the date does not 413 // correspond to the current year. 419 // This means both dates are from the same year 429 // The items are not from the same year - only show 430 // month and year.
|
/packages/apps/UnifiedEmail/src/org/apache/james/mime4j/field/datetime/parser/ |
DateTimeParser.java | 100 private String year; field in class:DateTimeParser.Date 104 public Date(String year, int month, int day) { 105 this.year = year; 110 public String getYear() { return year; } 206 y = year(); 276 final public String year() throws ParseException { method in class:DateTimeParser
|
/external/chromium_org/third_party/icu/source/tools/tzcode/ |
tz2icu.cpp | 74 * Given a calendar year, return the GMT epoch seconds for midnight 75 * GMT of January 1 of that year. yearToSeconds(1970) == 0. 77 int64_t yearToSeconds(int32_t year) { 81 while (y < year) { 84 while (y > year) { 91 * Given 1970 GMT epoch seconds, return the calendar year containing 733 int32_t year; // takes effect for y >= year member in struct:FinalZone 737 offset(_offset), year(_year), ruleid(_ruleid) { 741 << " for year " << yea 952 int32_t offset, year; local 1362 int32_t year = fz.year; local [all...] |
/external/icu/icu4c/source/tools/tzcode/ |
tz2icu.cpp | 74 * Given a calendar year, return the GMT epoch seconds for midnight 75 * GMT of January 1 of that year. yearToSeconds(1970) == 0. 77 int64_t yearToSeconds(int32_t year) { 81 while (y < year) { 84 while (y > year) { 91 * Given 1970 GMT epoch seconds, return the calendar year containing 733 int32_t year; // takes effect for y >= year member in struct:FinalZone 737 offset(_offset), year(_year), ruleid(_ruleid) { 741 << " for year " << yea 952 int32_t offset, year; local 1362 int32_t year = fz.year; local [all...] |
/external/chromium_org/third_party/icu/source/i18n/unicode/ |
simpletz.h | 260 * Sets the daylight savings starting year, that is, the year this time zone began 262 * not to observe daylight savings time prior to that year; SimpleTimeZone doesn't 264 * @param year the daylight savings starting year. 267 void setStartYear(int32_t year); 560 * @param year The reference date's year 569 virtual int32_t getOffset(uint8_t era, int32_t year, int32_t month, int32_t day, 576 * @param year the year in the given date [all...] |
rbtz.h | 139 * @param year The reference date's year 148 virtual int32_t getOffset(uint8_t era, int32_t year, int32_t month, int32_t day, 160 * @param year The reference date's year 170 virtual int32_t getOffset(uint8_t era, int32_t year, int32_t month, int32_t day,
|
/external/icu/icu4c/source/i18n/unicode/ |
simpletz.h | 260 * Sets the daylight savings starting year, that is, the year this time zone began 262 * not to observe daylight savings time prior to that year; SimpleTimeZone doesn't 264 * @param year the daylight savings starting year. 267 void setStartYear(int32_t year); 560 * @param year The reference date's year 569 virtual int32_t getOffset(uint8_t era, int32_t year, int32_t month, int32_t day, 576 * @param year the year in the given date [all...] |
rbtz.h | 139 * @param year The reference date's year 148 virtual int32_t getOffset(uint8_t era, int32_t year, int32_t month, int32_t day, 160 * @param year The reference date's year 170 virtual int32_t getOffset(uint8_t era, int32_t year, int32_t month, int32_t day,
|
/external/chromium_org/third_party/libxml/src/ |
xmlschemastypes.c | 62 long year; member in struct:_xmlSchemaValDate 5839 unsigned long year; local [all...] |
/external/libxml2/ |
xmlschemastypes.c | 62 long year; member in struct:_xmlSchemaValDate 5846 unsigned long year; local [all...] |
/bionic/libc/tzcode/ |
localtime.c | 139 #define DAY_OF_YEAR 1 /* n = day of year */ 190 static int_fast32_t transtime(int year, const struct rule * rulep, 821 ** Day of year. 839 ** Given a year, a rule, and the offset from UT at the time that rule takes 840 ** effect, calculate the year-relative time that rule takes effect. 844 transtime(const int year, register const struct rule *const rulep, 853 leapyear = isleap(year); 871 ** n - day of year. 888 yy0 = (rulep->r_mon <= 2) ? (year - 1) : year; 1000 register int year; local [all...] |
strptime.c | 286 case 'j': /* The day of year. */ 340 case 'U': /* The week of year, beginning on sunday. */ 341 case 'W': /* The week of year, beginning on monday. */ 359 case 'Y': /* The year. */ 368 case 'y': /* The year within the century (2 digits). */ 393 * We need to evaluate the two digit year spec (%y)
|
/external/chromium_org/base/time/ |
time_posix.cc | 204 exploded->year = timestruct.tm_year + 1900; 222 timestruct.tm_year = exploded.year - 1900; 271 (exploded.year < 1969 || exploded.year > 1970)) { 272 // If exploded.year is 1969 or 1970, take -1 as correct, with the 295 if (exploded.year < 1969) {
|
/external/chromium_org/third_party/WebKit/PerformanceTests/Dromaeo/resources/dromaeo/web/tests/ |
sunspider-date-format-xparb.html | 307 // Find the first Thursday of the year 315 var year = this.getFullYear(); 316 return ((year & 3) == 0 && (year % 100 || (year % 400 == 0 && year)));
|
/external/chromium_org/third_party/WebKit/PerformanceTests/SunSpider/tests/sunspider-0.9/ |
date-format-xparb.js | 303 // Find the first Thursday of the year 311 var year = this.getFullYear(); 312 return ((year & 3) == 0 && (year % 100 || (year % 400 == 0 && year)));
|
/external/chromium_org/third_party/WebKit/PerformanceTests/SunSpider/tests/sunspider-0.9.1/ |
date-format-xparb.js | 303 // Find the first Thursday of the year 311 var year = this.getFullYear(); 312 return ((year & 3) == 0 && (year % 100 || (year % 400 == 0 && year)));
|
/external/chromium_org/third_party/WebKit/PerformanceTests/SunSpider/tests/sunspider-1.0/ |
date-format-xparb.js | 303 // Find the first Thursday of the year 311 var year = this.getFullYear(); 312 return ((year & 3) == 0 && (year % 100 || (year % 400 == 0 && year)));
|
/external/chromium_org/third_party/WebKit/Source/web/tests/ |
LocaleMacTest.cpp | 53 DateComponents dateComponents(int year, int month, int day) 56 date.setMillisecondsSinceEpochForDate(msForDate(year, month, day)); 67 double msForDate(int year, int month, int day) 69 return dateToDaysFrom1970(year, month, day) * msPerDay; 90 String formatDate(const String& localeString, int year, int month, int day) 93 return locale->formatDateTime(dateComponents(year, month, day));
|
/external/chromium_org/third_party/icu/source/i18n/ |
vzone.h | 179 * @param year The reference date's year 188 vzone_getOffset(VZone* zone, uint8_t era, int32_t year, int32_t month, int32_t day, 201 * @param year The reference date's year 211 vzone_getOffset2(VZone* zone, uint8_t era, int32_t year, int32_t month, int32_t day,
|
/external/chromium_org/v8/test/webkit/ |
date-set-to-nan.js | 25 "This tests if the Date setters handle invalid parameters correctly resulting in a NaN date and if a recovery from such a NaN date is only possible by using the date.setTime() and date.set[[UTC]Full]Year() functions." 44 "Year" 433 functionNameRoot != "Year") 441 functionNameRoot != "Year") 449 functionNameRoot != "Year") 460 else if (functionNameRoot == "Year")
|
/external/icu/icu4c/source/i18n/ |
vzone.h | 179 * @param year The reference date's year 188 vzone_getOffset(VZone* zone, uint8_t era, int32_t year, int32_t month, int32_t day, 201 * @param year The reference date's year 211 vzone_getOffset2(VZone* zone, uint8_t era, int32_t year, int32_t month, int32_t day,
|