/prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/x86_64-w64-mingw32/include/ |
xcmc.h | 45 CMC_sint8 year; member in struct:__anon66345
|
/toolchain/binutils/binutils-2.27/zlib/contrib/minizip/ |
zip.c | 334 uLong year = (uLong)ptm->tm_year; local 335 if (year>=1980) 336 year-=1980; 337 else if (year>=80) 338 year-=80; 340 (uLong) (((ptm->tm_mday) + (32 * (ptm->tm_mon+1)) + (512 * year)) << 16) | [all...] |
/cts/tests/tests/text/src/android/text/format/cts/ |
TimeTest.java | 81 time.year = 2008; 87 assertEquals(2008, cal.get(Calendar.YEAR)); 113 final int year = 2008; local 117 time.set(date, month, year); 118 assertEquals(year, time.year); 135 assertEquals(time.year, anotherTime.year); 156 assertEquals(time.year, anotherTime.year); [all...] |
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/calendar/ |
IBMCalendarTest.java | 156 * that behaves like a Gregorian but has different year/era mappings. 159 * { era, year, gregorianYear, month, dayOfMonth, ... } 169 int year = data[i++]; local 180 cal.set(year, month, dayOfMonth); 183 logln("OK: " + era + ":" + year + "/" + (month+1) + "/" + dayOfMonth + 186 errln("Fail: " + era + ":" + year + "/" + (month+1) + "/" + dayOfMonth + 193 int y = cal.get(Calendar.YEAR); 194 if (y == year && e == era) { 196 cal.get(Calendar.YEAR) + "/" + 200 cal.get(Calendar.YEAR) + "/" 674 int year; field in class:IBMCalendarTest.TestData 1187 private int year; field in class:IBMCalendarTest.CalFields 1246 int year = cal.get(Calendar.YEAR); local [all...] |
CalendarRegressionTest.java | 54 "ERA", "YEAR", "MONTH", "WEEK_OF_YEAR", "WEEK_OF_MONTH", 220 * calendar.get(calendar.ERA)); logln("YEAR: " + 221 * calendar.get(calendar.YEAR)); logln("MONTH: " + 239 * 1997"); logln("ERA: " + calendar.get(calendar.ERA)); logln("YEAR: " + 240 * calendar.get(calendar.YEAR)); logln("MONTH: " + 403 int testyear = foo1.get(Calendar.YEAR); 478 * cal1.set( Calendar.YEAR, 1997 ); cal1.set( Calendar.MONTH, 10 ); 491 * cal2.set( Calendar.YEAR, 1997 ); cal2.set( Calendar.MONTH, 10 ); 514 int sec = 0, min = 0, hr = 0, day = 1, month = 10, year = 1997; local 538 cal2.set(cal1.get(Calendar.YEAR), 1135 int year = calendar.get(Calendar.YEAR); local [all...] |
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/ |
DateFormatRegressionTest.java | 405 two y's, typically resulting in a date in the year 1919. 408 four-digit year values (probably also applicable to various 788 * DateFormat shouldn't parse year "-1" as a two-digit year (e.g., "-1" . 1999). 794 /* We expect 2-digit year formats to put 2-digit years in the right 969 int year = cal.get(Calendar.YEAR); local [all...] |
/external/icu/icu4c/source/i18n/ |
calendar.cpp | 617 {/*N/A*/-1, /*N/A*/-1, /*N/A*/-1, /*N/A*/-1}, // YEAR 665 // local fields (YEAR, MONTH, DATE, HOUR, MINUTE, etc.) 687 // local fields (YEAR, MONTH, DATE, HOUR, MINUTE, etc.) 1265 int32_t year = get(UCAL_EXTENDED_YEAR, status); local [all...] |
vtzone.cpp | 79 // Month length for non-leap year 192 int32_t year, month, dom, dow, doy, mid; local 193 Grego::timeToFields(time, year, month, dom, dow, doy, mid); 196 appendAsciiDigits(year, 4, str); 232 int32_t year = 0, month = 0, day = 0, hour = 0, min = 0, sec = 0; local 254 year = parseAsciiDigits(str, 0, 4, status); 266 int32_t maxDayOfMonth = Grego::monthLength(year, month); 267 if (year < 0 || month < 0 || month > 11 || day < 1 || day > maxDayOfMonth || 280 UDate time = Grego::fieldsToDay(year, month, day) * U_MILLIS_PER_DAY; 683 // Calculate start/end year and missing field 1931 int32_t year, month, dom, dow, doy, mid; local [all...] |
/external/icu/icu4c/source/test/intltest/ |
calregts.cpp | 102 "YEAR", 404 logln("YEAR: " + Calendar::get(Calendar::YEAR)); 431 logln("YEAR: " + Calendar::get(Calendar::YEAR)); 810 /*cal1.set( Calendar::YEAR, 1997 ); 823 /*cal2.set( Calendar::YEAR, 1997 ); 866 int32_t sec = 0, min = 0, hr = 0, day = 1, month = 10, year = 1997; local 902 cal3->set(year, month, day, hr, min, sec); 1626 int32_t year = calendar->get(UCAL_YEAR,status); local 2463 int32_t year = cal->get(UCAL_YEAR, status); local [all...] |
dtfmttst.cpp | 907 int32_t year,month,day,hour,min,sec; dateToFields(today,year,month,day,hour,min,sec); local 4045 int32_t year; member in struct:__anon21699 4152 int32_t year = rootChineseCalendar->get(UCAL_YEAR, status); local 4244 int32_t year; member in struct:__anon21702 4347 int32_t year = cal->get(UCAL_YEAR, status); local [all...] |
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/calendar/ |
IBMCalendarTest.java | 153 * that behaves like a Gregorian but has different year/era mappings. 156 * { era, year, gregorianYear, month, dayOfMonth, ... } 166 int year = data[i++]; local 177 cal.set(year, month, dayOfMonth); 180 logln("OK: " + era + ":" + year + "/" + (month+1) + "/" + dayOfMonth + 183 errln("Fail: " + era + ":" + year + "/" + (month+1) + "/" + dayOfMonth + 190 int y = cal.get(Calendar.YEAR); 191 if (y == year && e == era) { 193 cal.get(Calendar.YEAR) + "/" + 197 cal.get(Calendar.YEAR) + "/" 671 int year; field in class:IBMCalendarTest.TestData 1184 private int year; field in class:IBMCalendarTest.CalFields 1243 int year = cal.get(Calendar.YEAR); local [all...] |
CalendarRegressionTest.java | 51 "ERA", "YEAR", "MONTH", "WEEK_OF_YEAR", "WEEK_OF_MONTH", 217 * calendar.get(calendar.ERA)); logln("YEAR: " + 218 * calendar.get(calendar.YEAR)); logln("MONTH: " + 236 * 1997"); logln("ERA: " + calendar.get(calendar.ERA)); logln("YEAR: " + 237 * calendar.get(calendar.YEAR)); logln("MONTH: " + 400 int testyear = foo1.get(Calendar.YEAR); 475 * cal1.set( Calendar.YEAR, 1997 ); cal1.set( Calendar.MONTH, 10 ); 488 * cal2.set( Calendar.YEAR, 1997 ); cal2.set( Calendar.MONTH, 10 ); 511 int sec = 0, min = 0, hr = 0, day = 1, month = 10, year = 1997; local 535 cal2.set(cal1.get(Calendar.YEAR), 1132 int year = calendar.get(Calendar.YEAR); local [all...] |
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/ |
DateFormatRegressionTest.java | 402 two y's, typically resulting in a date in the year 1919. 405 four-digit year values (probably also applicable to various 785 * DateFormat shouldn't parse year "-1" as a two-digit year (e.g., "-1" . 1999). 791 /* We expect 2-digit year formats to put 2-digit years in the right 966 int year = cal.get(Calendar.YEAR); local [all...] |
/external/libxml2/ |
xmlschemastypes.c | 67 long year; member in struct:_xmlSchemaValDate 5874 unsigned long year; local [all...] |
/frameworks/base/telephony/java/com/android/internal/telephony/cdma/ |
BearerData.java | 240 int year = IccUtils.cdmaBcdByteToInt(data[0]); local 241 if (year > 99 || year < 0) return null; 242 ts.year = year >= 96 ? year + 1900 : year + 2000; 265 builder.append("{ year=" + year); [all...] |
/libcore/ojluni/src/main/java/java/util/ |
GregorianCalendar.java | 74 * and the Julian calendar is the leap year rule. The Julian calendar specifies 86 * leap year rules were applied irregularly, and before 45 BC the Julian 90 * Prior to the institution of the Gregorian calendar, New Year's Day was 95 * <h3><a name="week_and_year">Week Of Year and Week Year</a></h3> 99 * calendar year is the earliest seven day period starting on {@link 102 * getMinimalDaysInFirstWeek()} days from that year. It thus depends 105 * between week 1 of one year and week 1 of the following year 107 * for year(s) involved in the Julian-Gregorian transition) 958 int year = internalGet(YEAR); local 1700 int year = gc.cdate.getNormalizedYear(); local 2087 int year = get(YEAR); \/\/ implicitly calls complete() local 2390 int year; local 2676 int year = isSet(YEAR) ? internalGet(YEAR) : EPOCH_YEAR; local 3298 int year = internalGet(YEAR); local 3306 int year = cdate.getNormalizedYear(); local 3338 int year = internalGet(YEAR); local 3352 int year = internalGet(YEAR); local [all...] |
/prebuilts/tools/common/m2/repository/com/cedarsoftware/java-util/1.24.0/ |
java-util-1.24.0.jar | |
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Modules/ |
datetimemodule.c | 162 * and the number of days before that month in the same year. These
175 /* year -> 1 if leap year, else 0. */
177 is_leap(int year)
179 /* Cast year to unsigned. The result is the same either way, but
184 const unsigned int ayear = (unsigned int)year;
188 /* year, month -> number of days in that month in that year */
190 days_in_month(int year, int month)
194 if (month == 2 && is_leap(year))
1195 long year; local 2282 int year; local 2384 int year; local 2411 int year = GET_YEAR(date); local 2584 int year = GET_YEAR(self); local 2646 int year = GET_YEAR(self); local 3673 int year; local 4076 int year = GET_YEAR(date); local [all...] |
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Modules/ |
datetimemodule.c | 162 * and the number of days before that month in the same year. These
175 /* year -> 1 if leap year, else 0. */
177 is_leap(int year)
179 /* Cast year to unsigned. The result is the same either way, but
184 const unsigned int ayear = (unsigned int)year;
188 /* year, month -> number of days in that month in that year */
190 days_in_month(int year, int month)
194 if (month == 2 && is_leap(year))
1195 long year; local 2282 int year; local 2384 int year; local 2411 int year = GET_YEAR(date); local 2584 int year = GET_YEAR(self); local 2646 int year = GET_YEAR(self); local 3673 int year; local 4076 int year = GET_YEAR(date); local [all...] |
/external/google-breakpad/src/google_breakpad/common/ |
minidump_format.h | 664 uint16_t year; member in struct:__anon20870 [all...] |
/external/icu/icu4c/source/tools/tzcode/ |
zic.c | 176 static int yearistype(int year, const char * type); 280 ** Year synonyms. 313 * with finalRules[i] occurring before finalRules[i+1] in the year. 314 * Each zone need only store a start year, a standard offset, and an 543 fprintf(f, " # zone %s, offset %d, year >= %d, rule %s (%d)\n", 559 warning("year types not supported by ICU"); 1270 zic_t year; local 1281 if (sscanf(cp, scheck(cp, "%"SCNdZIC), &year) != 1) { 1285 error(_("invalid leaping year")); 1288 if (!leapseen || leapmaxyear < year) 2226 register zic_t year; local [all...] |
/external/libpng/ |
png.h | 253 * Libpng only has two year fields. One is a 2-byte unsigned integer 258 * "png_uint_16 year" in png_time_struct. 277 * clock time, which returns (year - 1900), which we properly convert to 278 * the full 4-digit year. There is a possibility that libpng applications 280 * function, or that they are incorrectly passing only a 2-digit year 281 * instead of "year - 1900" into the png_convert_from_struct_tm() function, 287 * integer to hold the year, and can hold years as large as 65535. 629 * note - PNG has always been Year 2000 compliant! 633 png_uint_16 year; /* full year, as in, 1995 * member in struct:png_time_struct [all...] |
/external/pdfium/third_party/libpng16/ |
png.h | 257 * Libpng only has two year fields. One is a 2-byte unsigned integer 262 * "png_uint_16 year" in png_time_struct. 281 * clock time, which returns (year - 1900), which we properly convert to 282 * the full 4-digit year. There is a possibility that libpng applications 284 * function, or that they are incorrectly passing only a 2-digit year 285 * instead of "year - 1900" into the png_convert_from_struct_tm() function, 291 * integer to hold the year, and can hold years as large as 65535. 634 * note - PNG has always been Year 2000 compliant! 638 png_uint_16 year; /* full year, as in, 1995 * member in struct:png_time_struct [all...] |
/external/python/cpython2/Modules/ |
datetimemodule.c | 162 * and the number of days before that month in the same year. These 175 /* year -> 1 if leap year, else 0. */ 177 is_leap(int year) 179 /* Cast year to unsigned. The result is the same either way, but 184 const unsigned int ayear = (unsigned int)year; 188 /* year, month -> number of days in that month in that year */ 190 days_in_month(int year, int month) 194 if (month == 2 && is_leap(year)) 1195 long year; local 2282 int year; local 2384 int year; local 2411 int year = GET_YEAR(date); local 2584 int year = GET_YEAR(self); local 2646 int year = GET_YEAR(self); local 3673 int year; local 4076 int year = GET_YEAR(date); local [all...] |
/external/syslinux/com32/include/ |
png.h | 417 * Libpng only has three year fields. One is a 2-byte unsigned integer 422 * "png_uint_16 year" in png_time_struct. 440 * clock time, which returns (year - 1900), which we properly convert to 441 * the full 4-digit year. There is a possibility that applications using 443 * function, or that they are incorrectly passing only a 2-digit year 444 * instead of "year - 1900" into the png_convert_from_struct_tm() function, 450 * integer to hold the year, and can hold years as large as 65535. 736 png_uint_16 year; \/* full year, as in, 1995 *\/ member in struct:png_time_struct [all...] |