/external/chromium_org/third_party/icu/source/tools/tzcode/ |
zic.c | 181 static int yearistype(int year, const char * type); 286 ** Year synonyms. 316 * with finalRules[i] occurring before finalRules[i+1] in the year. 317 * Each zone need only store a start year, a standard offset, and an 522 fprintf(f, " # zone %s, offset %d, year >= %d, rule %s (%d)\n", 538 warning("year types not supported by ICU"); 1262 int year, month, day; local 1272 if (sscanf(cp, scheck(cp, "%d"), &year) != 1) { 1276 error(_("invalid leaping year")); 1279 if (!leapseen || leapmaxyear < year) 2107 register int year; local [all...] |
/external/icu/icu4c/source/tools/tzcode/ |
zic.c | 181 static int yearistype(int year, const char * type); 286 ** Year synonyms. 316 * with finalRules[i] occurring before finalRules[i+1] in the year. 317 * Each zone need only store a start year, a standard offset, and an 522 fprintf(f, " # zone %s, offset %d, year >= %d, rule %s (%d)\n", 538 warning("year types not supported by ICU"); 1262 int year, month, day; local 1272 if (sscanf(cp, scheck(cp, "%d"), &year) != 1) { 1276 error(_("invalid leaping year")); 1279 if (!leapseen || leapmaxyear < year) 2107 register int year; local [all...] |
/external/chromium_org/base/time/ |
pr_time_unittest.cc | 39 2007 - 1900, // year 41 0, // day of year (ignored, output only) 55 2013 - 1900, // year 57 0, // day of year (ignored, output only) 263 // Note the lack of timezone in the time string. The year has to be 3001.
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/ |
test_strftime.py | 104 'week number of the year (Sun 1st)'), 107 'week number of the year (Mon 1st)'), 110 ('%y', '%02d' % (now[0]%100), 'year without century'), 111 ('%Y', '%d' % now[0], 'year with century'), 155 'year without century rendered using fieldwidth'),
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/ |
test_strftime.py | 104 'week number of the year (Sun 1st)'), 107 'week number of the year (Mon 1st)'), 110 ('%y', '%02d' % (now[0]%100), 'year without century'), 111 ('%Y', '%d' % now[0], 'year with century'), 155 'year without century rendered using fieldwidth'),
|
/prebuilts/tools/common/m2/repository/org/objenesis/objenesis-parent/1.2/ |
objenesis-parent-1.2.pom | 194 <id>year</id>
199 <propertyName>year</propertyName>
223 <year>${year}</year>
|
/external/chromium_org/v8/test/mjsunit/ |
date-parse.js | 87 // Allow year/month/day format. 89 // Allow month/day/year format. 91 // Allow month/day year format. 93 // Allow comma instead of space after day, month and year. 222 ['Sat, 01 Jan 0 08:00:00 UT', 946713600000], // year 2000 223 ['Sat, 01 Jan 49 08:00:00 UT', 2493100800000], // year 2049 224 ['Sat, 01 Jan 50 08:00:00 UT', -631123200000], // year 1950 225 ['Sat, 01 Jan 99 08:00:00 UT', 915177600000], // year 1999 226 ['Sat, 01 Jan 100 08:00:00 UT', -59011430400000], // year 100
|
/external/lzma/C/Util/7z/ |
7zMain.c | 225 unsigned year, mon, day, hour, min, sec;
local 236 year = (unsigned)(1601 + v / PERIOD_400 * 400);
239 t = v / PERIOD_100; if (t == 4) t = 3; year += t * 100; v -= t * PERIOD_100;
240 t = v / PERIOD_4; if (t == 25) t = 24; year += t * 4; v -= t * PERIOD_4;
241 t = v / 365; if (t == 4) t = 3; year += t; v -= t * 365;
243 if (year % 4 == 0 && (year % 100 != 0 || year % 400 == 0))
253 s = UIntToStr(s, year, 4); *s++ = '-';
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.6/sysroot/usr/include/ |
time.h | 140 int tm_year; /* Year - 1900. */ 142 int tm_yday; /* Days in year.[0-365] */ 302 /* Nonzero if YEAR is a leap year (every 4 years, 304 # define __isleap(year) \ 305 ((year) % 4 == 0 && ((year) % 100 != 0 || (year) % 400 == 0)) 318 /* Return the number of days in YEAR. */
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.8/sysroot/usr/include/ |
time.h | 140 int tm_year; /* Year - 1900. */ 142 int tm_yday; /* Days in year.[0-365] */ 302 /* Nonzero if YEAR is a leap year (every 4 years, 304 # define __isleap(year) \ 305 ((year) % 4 == 0 && ((year) % 100 != 0 || (year) % 400 == 0)) 318 /* Return the number of days in YEAR. */
|
/external/chromium_org/components/autofill/core/browser/ |
credit_card.cc | 44 bool ConvertYear(const base::string16& year, int* num) { 45 // If the |year| is empty, clear the stored value. 46 if (year.empty()) { 51 // Try parsing the |year| as a number. 52 if (base::StringToInt(year, num)) 295 base::string16 year = Expiration2DigitYearAsString(); local 296 if (!month.empty() && !year.empty()) 297 return month + base::ASCIIToUTF16("/") + year; 303 base::string16 year = Expiration4DigitYearAsString(); local 304 if (!month.empty() && !year.empty() 633 int year; local [all...] |
/libcore/luni/src/main/java/java/util/ |
SimpleTimeZone.java | 342 public int getOffset(int era, int year, int month, int day, int dayOfWeek, int time) { 347 if (month != Calendar.FEBRUARY || day != 29 || !isLeapYear(year)) { 351 if (!useDaylightTime() || era != GregorianCalendar.AD || year < startYear) { 377 year)) { 419 if (endMonth == Calendar.FEBRUARY && isLeapYear(year)) { 454 if (ruleMonth == Calendar.FEBRUARY && isLeapYear(year)) { 530 private boolean isLeapYear(int year) { 531 if (year > 1582) { 532 return year % 4 == 0 && (year % 100 != 0 || year % 400 == 0) [all...] |
/external/chromium_org/content/public/android/javatests/src/org/chromium/content/browser/input/ |
InputDialogContainerTest.java | 359 int year, int month, int monthDay, 363 mExpectedYear = year; 378 int year, int month, int monthDay, 382 assertEquals(mExpectedYear, year); 397 int year, int month, int monthDay, 401 year, month, monthDay,
|
/external/chromium_org/third_party/WebKit/Source/web/tests/ |
LocaleWinTest.cpp | 75 DateComponents dateComponents(int year, int month, int day) 78 date.setMillisecondsSinceEpochForDate(msForDate(year, month, day)); 82 double msForDate(int year, int month, int day) 84 return dateToDaysFrom1970(year, month, day) * msPerDay; 87 String formatDate(LCID lcid, int year, int month, int day) 90 return locale->formatDateTime(dateComponents(year, month, day));
|
/external/chromium_org/third_party/icu/source/i18n/unicode/ |
udat.h | 196 * Constant for date skeleton with year. 213 * Constant for date skeleton with year and quarter. 218 * Constant for date skeleton with year and abbreviated quarter. 238 * Constant for date skeleton with year and month. 243 * Constant for date skeleton with year and abbreviated month. 248 * Constant for date skeleton with year and numeric month. 258 * Constant for date skeleton with year, month, and day. 264 * Constant for date skeleton with year, abbreviated month, and day. 270 * Constant for date skeleton with year, numeric month, and day. 288 * Constant for date skeleton with year, month, weekday, and day [all...] |
/external/icu/icu4c/source/i18n/unicode/ |
udat.h | 198 * Constant for date skeleton with year. 213 * Constant for date skeleton with year and quarter. 218 * Constant for date skeleton with year and abbreviated quarter. 238 * Constant for date skeleton with year and month. 243 * Constant for date skeleton with year and abbreviated month. 248 * Constant for date skeleton with year and numeric month. 258 * Constant for date skeleton with year, month, and day. 264 * Constant for date skeleton with year, abbreviated month, and day. 270 * Constant for date skeleton with year, numeric month, and day. 286 * Constant for date skeleton with year, month, weekday, and day [all...] |
/external/chromium_org/third_party/icu/source/test/intltest/ |
calcasts.cpp | 62 checkField(cal, UCAL_YEAR, cases[i].year,status); 74 cal->set(UCAL_YEAR, cases[i].year); 128 // Julian Day Era Year Month Day WkDay Hour Min Sec 217 // Julian Day Era Year Month Day WkDay Hour Min Sec 264 // Test cases taken from a table of 14 "year types" in the Help file 287 // Julian Day Era Year Month Day WkDay Hour Min Sec 304 // G.YY/MM/DD Era Year Month Day WkDay Hour Min Sec 336 // Julian Day Era Year Month Day WkDay Hour Min Sec 393 // JD Era Year Month Day WkDay Hour Min Sec 413 // above is first coptic leap year [all...] |
/external/icu/icu4c/source/test/intltest/ |
calcasts.cpp | 62 checkField(cal, UCAL_YEAR, cases[i].year,status); 74 cal->set(UCAL_YEAR, cases[i].year); 128 // Julian Day Era Year Month Day WkDay Hour Min Sec 217 // Julian Day Era Year Month Day WkDay Hour Min Sec 264 // Test cases taken from a table of 14 "year types" in the Help file 287 // Julian Day Era Year Month Day WkDay Hour Min Sec 304 // G.YY/MM/DD Era Year Month Day WkDay Hour Min Sec 336 // Julian Day Era Year Month Day WkDay Hour Min Sec 393 // JD Era Year Month Day WkDay Hour Min Sec 413 // above is first coptic leap year [all...] |
/frameworks/base/core/java/android/text/format/ |
DateFormat.java | 156 public static final char YEAR = 'y'; 317 int year = value.indexOf('y'); local 319 if (month >= 0 && day >= 0 && year >= 0) { 321 if (year < month && year < day) { 328 if (day < year) { 334 if (month < year) { 372 * array containing the day ({@code 'd'}), month ({@code 'M'}), and year ({@code 'y'})) 376 * not just the day, month, and year, and not necessarily in the same 564 replacement = getYearString(inDate.get(Calendar.YEAR), count) [all...] |
/cts/tests/tests/sax/src/android/sax/cts/ |
ElementTest.java | 43 + "<entry1><id year=\"2009\">james</id></entry1>" 44 + "<entry2 year=\"2000\"><id>jim</id></entry2>"
|
/development/ndk/platforms/android-3/include/ |
time.h | 51 int tm_year; /* year */ 53 int tm_yday; /* day in the year */
|
/development/ndk/platforms/android-8/include/ |
time.h | 51 int tm_year; /* year */ 53 int tm_yday; /* day in the year */
|
/external/bison/ |
Makefile.am | 57 .PHONY: update-b4-copyright update-package-copyright-year 63 update-package-copyright-year:
|
/external/chromium_org/chrome/browser/resources/net_internals/ |
cros_log_entry.js | 30 var year = timeTokens[0]; 37 this.time = new Date(year, month, day, hour, minute,
|
/external/chromium_org/media/tools/layout_tests/ |
trend_graph.py | 41 (e.g., '2008,1,1,13,45,00)'. For example, in the case of the year 51 # After the below conversion, for example, in the case of the year 2008,
|