/external/v8/test/mjsunit/regress/ |
regress-399.js | 31 var year = Number(String(date).match(/.*(200\d)/)[1]); variable 32 assertEquals(year, date.getFullYear());
|
regress-91.js | 29 var year = date.getYear(); variable 31 date.setYear(1900 + year); 32 assertEquals(year, date.getYear());
|
regress-builtinbust-7.js | 15 year: "numeric", 27 assertTrue(options_incomplete.hasOwnProperty("year")); 14 weekday: "long", property in class:var.options
|
/external/v8/test/intl/date-format/ |
timezone-name.js | 38 year: 'numeric', month: 'long', day: 'numeric', 37 var flags = { property in class:flags
|
/external/v8/test/intl/overrides/ |
date.js | 38 [], {year: 'numeric', month: 'numeric', day: 'numeric', 51 locale, {year: 'numeric', month: 'numeric', day: 'numeric', 60 var options = {year: 'numeric', month: 'long', day: 'numeric', property in class:options
|
/bionic/libc/tzcode/ |
asctime.c | 32 ** The ISO C 1999 and POSIX 1003.1-2004 standards prohibit padding the year, 41 ** For years that are more than four digits we put extra spaces before the year 43 ** a digit within a year and truncating the year (operating on the assumption 83 char year[INT_STRLEN_MAXIMUM(int) + 2]; local 97 ** Use strftime's %Y to generate the year, to avoid overflow problems 102 strftime(year, sizeof year, "%Y", timeptr); 107 ((strlen(year) <= 4) ? ASCTIME_FMT : ASCTIME_FMT_B), 111 year); [all...] |
/external/chromium-trace/catapult/third_party/Paste/paste/util/ |
dateinterval.py | 23 year = day*365 variable 25 'y': year,
|
/external/icu/icu4c/source/test/intltest/ |
calcasts.h | 30 int32_t year; member in struct:CalendarCaseTest::TestCase
|
/external/icu/icu4c/source/tools/tzcode/ |
asctime.c | 32 ** The ISO C 1999 and POSIX 1003.1-2004 standards prohibit padding the year, 41 ** For years that are more than four digits we put extra spaces before the year 43 ** a digit within a year and truncating the year (operating on the assumption 83 char year[INT_STRLEN_MAXIMUM(int) + 2]; local 97 ** Use strftime's %Y to generate the year, to avoid overflow problems 102 (void) strftime(year, sizeof year, "%Y", timeptr); 107 ((strlen(year) <= 4) ? ASCTIME_FMT : ASCTIME_FMT_B), 111 year); local [all...] |
/frameworks/av/media/mtp/ |
MtpUtils.cpp | 29 representation, YYYY shall be replaced by the year, MM replaced by the month (01-12), 37 int year, month, day, hour, minute, second; local 39 &year, &month, &day, &hour, &minute, &second) != 6) 64 tm.tm_year = year - 1900;
|
/hardware/bsp/intel/peripheral/libupm/examples/c++/ |
wt5001.cxx | 113 uint16_t year = 0; local 115 if (mp3->getDate(&year, &month, &day)) 117 << "/" << int(year) << endl;
|
/hardware/bsp/intel/peripheral/libupm/examples/python/ |
wt5001.py | 90 year = upmWt5001.uint16Array(0) variable 94 myMP3Player.getDate(year, month, day) 97 mp3date += str(year.__getitem__(0))
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/cms/ |
Time.java | 82 int year = Integer.parseInt(d.substring(0, 4)); local 84 if (year < 1950 || year > 2049) 117 int year = Integer.parseInt(d.substring(0, 4)); local 119 if (year < 1950 || year > 2049)
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/x509/ |
Time.java | 63 int year = Integer.parseInt(d.substring(0, 4)); local 65 if (year < 1950 || year > 2049) 98 int year = Integer.parseInt(d.substring(0, 4)); local 100 if (year < 1950 || year > 2049)
|
/external/chromium-trace/catapult/third_party/WebOb/webob/ |
datetime_utils.py | 27 'year', 'month', 'week', 'day', 'hour', 'minute', 'second', 61 year = timedelta(days=365) variable
|
/external/icu/android_icu4j/src/main/java/android/icu/util/ |
BuddhistCalendar.java | 21 * except for the year and era. Years are numbered since the birth of the 134 * @param year The value used to set the calendar's {@link #YEAR YEAR} time field. 141 public BuddhistCalendar(int year, int month, int date) { 142 super(year, month, date); 149 * @param year The value used to set the calendar's {@link #YEAR YEAR} time field. 162 public BuddhistCalendar(int year, int month, int date, int hour 186 int year; local [all...] |
TaiwanCalendar.java | 19 * except for the year and era. Years are numbered since 1912 AD (Gregorian). 135 * @param year The value used to set the calendar's {@link #YEAR YEAR} time field. 142 public TaiwanCalendar(int year, int month, int date) { 143 super(year, month, date); 150 * @param year The value used to set the calendar's {@link #YEAR YEAR} time field. 159 public TaiwanCalendar(int year, int month, int date, int hour 184 int year = GREGORIAN_EPOCH; local [all...] |
/external/icu/icu4c/source/tools/gentest/ |
gentest.c | 146 int32_t year = getCurrentYear(); local 163 fprintf(out, "/** Copyright (C) 2007-%d, International Business Machines Corporation and Others. All Rights Reserved. **/\n\n", year);
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/ |
BuddhistCalendar.java | 20 * except for the year and era. Years are numbered since the birth of the 142 * @param year The value used to set the calendar's {@link #YEAR YEAR} time field. 150 public BuddhistCalendar(int year, int month, int date) { 151 super(year, month, date); 158 * @param year The value used to set the calendar's {@link #YEAR YEAR} time field. 172 public BuddhistCalendar(int year, int month, int date, int hour 197 int year; local [all...] |
TaiwanCalendar.java | 18 * except for the year and era. Years are numbered since 1912 AD (Gregorian). 145 * @param year The value used to set the calendar's {@link #YEAR YEAR} time field. 153 public TaiwanCalendar(int year, int month, int date) { 154 super(year, month, date); 161 * @param year The value used to set the calendar's {@link #YEAR YEAR} time field. 171 public TaiwanCalendar(int year, int month, int date, int hour 197 int year = GREGORIAN_EPOCH; local [all...] |
/external/toybox/toys/posix/ |
cal.c | 13 usage: cal [[month] year] 17 With one argument, prints all months of the specified year. 18 With two arguments, prints calendar for month and year. 47 int year = tm->tm_year; local 49 if (!(year & 3) && !((year&100) && !(year&400))) len++; 80 // Last argument is year, one before that (if any) is month. 89 // Print 12 months of the year
|
/external/v8/src/ |
dateparser.cc | 20 int year = 0; // Default year is 0 (=> 2000) for KJS compatibility. local 27 year = comp_[0]; 34 if (index_ == 3) year = comp_[2]; 43 year = comp_[0]; 48 year = comp_[1]; 53 if (Between(year, 0, 49)) year += 2000; 54 else if (Between(year, 50, 99)) year += 1900 [all...] |
/build/tools/zipalign/ |
ZipEntry.cpp | 377 int year; local 378 year = ptm->tm_year; 379 if (year < 80) 380 year = 80; 382 zdate = (year - 80) << 9 | (ptm->tm_mon+1) << 5 | ptm->tm_mday;
|
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/builderTemplate/publishingFiles/dropSiteRootFiles/ |
index.php | 72 $year = substr($timePart, 0, 4);
variable 77 $timeStamp = mktime($hour, $minute, 0, $month, $day, $year);
|
/external/icu/icu4c/source/i18n/ |
buddhcal.cpp | 66 // EXTENDED_YEAR in BuddhistCalendar is a Gregorian year. 68 int32_t year; local 70 year = internalGet(UCAL_EXTENDED_YEAR, kGregorianEpoch); 72 // extended year is a gregorian year, where 1 = 1AD, 0 = 1BC, -1 = 2BC, etc 73 year = internalGet(UCAL_YEAR, kGregorianEpoch - kBuddhistEraStart) 76 return year; 109 int32_t year = internalGet(UCAL_YEAR); 112 year = 1-year; [all...] |