/cts/tests/tests/text/src/android/text/format/cts/ |
DateFormatTest.java | 43 private static final int YEAR = 2008; 168 Calendar calendar = new GregorianCalendar(YEAR, MONTH, DAY);
|
/external/clearsilver/java-jni/ |
javatest.gold | 108 DatePST.year = 2006 119 DateEST.year = 2006
|
/external/icu4c/i18n/ |
rbtz.cpp | 345 RuleBasedTimeZone::getOffset(uint8_t era, int32_t year, int32_t month, int32_t day, 354 return getOffset(era, year, month, day, dayOfWeek, millis, 355 Grego::monthLength(year, month), status); 360 RuleBasedTimeZone::getOffset(uint8_t era, int32_t year, int32_t month, int32_t day, 368 // Convert to extended year 369 year = 1 - year; 372 UDate time = (UDate)Grego::fieldsToDay(year, month, day) * U_MILLIS_PER_DAY + millis;
|
/external/icu4c/tools/genren/ |
genren.pl | 72 $YEAR = strftime "%Y",localtime; 77 * Copyright (C) 2002-$YEAR, International Business Machines
|
/external/kernel-headers/original/linux/ |
rtc.h | 104 extern int rtc_month_days(unsigned int month, unsigned int year); 105 extern int rtc_year_days(unsigned int day, unsigned int month, unsigned int year);
|
/external/quake/quake/src/WinQuake/data/ |
HELP.TXT | 48 Lines Open 24 hours a day, 365 days a year, or 366 days
101 Lines Open 24 hours a day, 365 days a year, or 366 days
|
/external/webkit/JavaScriptCore/runtime/ |
DateConversion.cpp | 69 monthName[t.month], t.monthDay, t.year + 1900); 76 t.monthDay, monthName[t.month], t.year + 1900);
|
/frameworks/base/core/java/android/util/ |
TimeUtils.java | 116 * database implementation, but will typically contain the year in which the database 117 * was updated plus a letter from a to z indicating changes made within that year.
|
/frameworks/base/core/jni/ |
Time.cpp | 69 static inline int days_this_month(int year, int month) 75 int y = year;
|
/external/bison/doc/ |
refcard.tex | 73 \def\year{2001} % year 74 \def\version{\month\ \year, Bison Refcard Version \refcardversion} 83 \centerline{Copyright \copyright\ \year\ Free Software Foundation, Inc.} 108 \centerline{Copyright \copyright\ \year\ Free Software Foundation, Inc.}
|
/external/webkit/JavaScriptCore/tests/mozilla/ecma/Date/ |
15.9.3.1-1.js | 24 ECMA Section: 15.9.3.1 new Date (year, month, date, hours, minutes, seconds, ms) 31 1. Call ToNumber(year) 59 var TITLE = "new Date( year, month, date, hours, minutes, seconds, ms )"; 71 var YEAR = 9; 252 testcases[item++] = new TestCase( SECTION, DateString+".getFullYear()", ResultArray[YEAR], DateCase.getFullYear() );
|
/external/wpa_supplicant/ |
x509v3.c | 516 int year, month, day, hour, min, sec; local 537 if (sscanf(pos, "%02d", &year) != 1) { 539 "UTCTime year", buf, len); 542 if (year < 50) 543 year += 2000; 545 year += 1900; 554 if (sscanf(pos, "%04d", &year) != 1) { 556 "GeneralizedTime year", buf, len); 601 if (os_mktime(year, month, day, hour, min, sec, val) < 0) { 604 if (year < 1970) [all...] |
/external/wpa_supplicant_6/wpa_supplicant/src/tls/ |
x509v3.c | 516 int year, month, day, hour, min, sec; local 537 if (sscanf(pos, "%02d", &year) != 1) { 539 "UTCTime year", buf, len); 542 if (year < 50) 543 year += 2000; 545 year += 1900; 554 if (sscanf(pos, "%04d", &year) != 1) { 556 "GeneralizedTime year", buf, len); 601 if (os_mktime(year, month, day, hour, min, sec, val) < 0) { 604 if (year < 1970) [all...] |
/packages/apps/Email/src/com/android/exchange/utility/ |
CalendarUtilities.java | 129 static final int sCurrentYear = new GregorianCalendar().get(Calendar.YEAR); 181 String year; field in class:CalendarUtilities.TimeZoneDate 228 // MSFT year is an int; TimeZone is a String 230 tzd.year = Integer.toString(num); 271 testCalendar.set(GregorianCalendar.YEAR, sCurrentYear); 393 * consecutive years starting with the current year 482 * @param toDaylightCalendars an array of GregorianCalendars, one for each year, representing 484 * @param toStandardCalendars an array of GregorianCalendars, one for each year, representing 495 // Get the transitions for this year and the next few years 500 // Calculate end of year; no need to be insanely precis [all...] |
/external/e2fsprogs/ |
configure.in | 16 YEAR=`echo $DATE | awk -F- '{print $3}'` 18 if expr $YEAR ">" 1900 > /dev/null ; then 19 E2FSPROGS_YEAR=$YEAR 20 elif expr $YEAR ">" 90 >/dev/null ; then 21 E2FSPROGS_YEAR=19$YEAR 23 E2FSPROGS_YEAR=20$YEAR 57 unset DATE MONTH YEAR base_ver pre_vers date_spec
|
/external/icu4c/test/intltest/ |
dtfmtrtts.cpp | 102 * because we use -80/+20 year window for 2-digit year parsing. 103 * (date[0] is in year 1926, date[1] is in year 2026.) result[1] set 105 * which is correct, because DST was not used in year 1926 in zone 392 // Starts in DST, no year in pattern 400 // Two digit year with no time zone change,
|
tzoffloc.cpp | 60 // Expected offsets by int32_t getOffset(uint8_t era, int32_t year, int32_t month, int32_t day, 201 // Test getOffset(uint8_t era, int32_t year, int32_t month, int32_t day, 209 errln((UnicodeString)"getOffset(era,year,month,day,dayOfWeek,millis,status) failed for TESTZONES[" + i + "]");
|
/hardware/ril/include/telephony/ |
ril_cdma_sms.h | 621 /* If 'year' is between 96 and 99, the actual year is 1900 + 'year'; 622 if 'year' is between 00 and 95, the actual year is 2000 + 'year'. 625 unsigned char year; /* 0x00-0x99 */ member in struct:__anon7784
|
/dalvik/libcore/text/src/main/java/java/text/ |
DateFormat.java | 181 * to the {@link Calendar#YEAR} field. 768 * Marks the year part of a date. 770 public final static Field YEAR = new Field("year", Calendar.YEAR); //$NON-NLS-1$ 817 * Marks the day of the year part of a date. 819 public final static Field DAY_OF_YEAR = new Field("day of year", //$NON-NLS-1$ 829 * Marks the week of the year part of a date. 831 public final static Field WEEK_OF_YEAR = new Field("week of year", //$NON-NLS-1$ [all...] |
/packages/apps/Email/tests/src/com/android/exchange/utility/ |
CalendarUtilitiesTests.java | 60 // used because DST is determined from year to year in a non-standard way (related to the lunar 61 // calendar); therefore, the test would only work during the year in which it was created 167 assertEquals(cal.get(Calendar.YEAR), 2010); 182 assertEquals(cal.get(Calendar.YEAR), 2010); 567 // Get a calendar at January 1st of the current year 570 // Get start and end times at start and end of year 597 // Get a calendar at January 1st of the current year 600 // Get start and end times at start and end of year [all...] |
/cts/tools/host/src/com/android/cts/ |
HostUtils.java | 258 int year = cal.get(Calendar.YEAR); local 280 fmt.format(formatStr, year, month, date, hour, min, sec);
|
/external/icu4c/tools/gendraft/ |
genheaders.pl | 124 ($DAY, $MONTH, $YEAR) = (localtime)[3,4,5]; 125 $YEAR += 1900; 130 * Copyright (C) 2004-$YEAR, International Business Machines
|
/dalvik/ |
README.txt | 18 * Copyright (C) <year> The Android Open Source Project
|
/dalvik/libcore/archive/src/main/java/java/util/zip/ |
ZipEntry.java | 275 int year = cal.get(Calendar.YEAR); local 276 if (year < 1980) { 282 modDate = ((cal.get(Calendar.YEAR) - 1980) << 9) | modDate;
|
/dalvik/libcore/security/src/main/java/org/apache/harmony/security/asn1/ |
ASN1GeneralizedTime.java | 94 // four digit year, seconds always presented
|