/external/webkit/Source/JavaScriptCore/tests/mozilla/ecma/Date/ |
15.9.5.23-13.js | 77 // fixed_year = ( ExpectDate.year >=1900 || ExpectDate.year < 2000 ) ? ExpectDate.year - 1900 : ExpectDate.year; 82 testcases[item++] = new TestCase( SECTION, DateString+".getUTCFullYear()", UTCDate.year, DateCase.getUTCFullYear() ); 91 testcases[item++] = new TestCase( SECTION, DateString+".getFullYear()", LocalDate.year, DateCase.getFullYear() ); 108 this.year = 0; 125 d.year = YearFromTime(t); 133 d.value = TimeClip( MakeDate( MakeDay( d.year, d.month, d.date ), d.time ) );
|
15.9.5.23-14.js | 75 // fixed_year = ( ExpectDate.year >=1900 || ExpectDate.year < 2000 ) ? ExpectDate.year - 1900 : ExpectDate.year; 80 testcases[item++] = new TestCase( SECTION, DateString+".getUTCFullYear()", UTCDate.year, DateCase.getUTCFullYear() ); 89 testcases[item++] = new TestCase( SECTION, DateString+".getFullYear()", LocalDate.year, DateCase.getFullYear() ); 106 this.year = 0; 123 d.year = YearFromTime(t); 131 d.value = TimeClip( MakeDate( MakeDay( d.year, d.month, d.date ), d.time ) );
|
15.9.5.23-15.js | 71 // fixed_year = ( ExpectDate.year >=1900 || ExpectDate.year < 2000 ) ? ExpectDate.year - 1900 : ExpectDate.year; 76 testcases[item++] = new TestCase( SECTION, DateString+".getUTCFullYear()", UTCDate.year, DateCase.getUTCFullYear() ); 85 testcases[item++] = new TestCase( SECTION, DateString+".getFullYear()", LocalDate.year, DateCase.getFullYear() ); 102 this.year = 0; 119 d.year = YearFromTime(t); 127 d.value = TimeClip( MakeDate( MakeDay( d.year, d.month, d.date ), d.time ) );
|
15.9.5.23-16.js | 70 // fixed_year = ( ExpectDate.year >=1900 || ExpectDate.year < 2000 ) ? ExpectDate.year - 1900 : ExpectDate.year; 75 testcases[item++] = new TestCase( SECTION, DateString+".getUTCFullYear()", UTCDate.year, DateCase.getUTCFullYear() ); 84 testcases[item++] = new TestCase( SECTION, DateString+".getFullYear()", LocalDate.year, DateCase.getFullYear() ); 101 this.year = 0; 118 d.year = YearFromTime(t); 126 d.value = TimeClip( MakeDate( MakeDay( d.year, d.month, d.date ), d.time ) );
|
15.9.5.23-17.js | 69 // fixed_year = ( ExpectDate.year >=1900 || ExpectDate.year < 2000 ) ? ExpectDate.year - 1900 : ExpectDate.year; 74 testcases[item++] = new TestCase( SECTION, DateString+".getUTCFullYear()", UTCDate.year, DateCase.getUTCFullYear() ); 83 testcases[item++] = new TestCase( SECTION, DateString+".getFullYear()", LocalDate.year, DateCase.getFullYear() ); 100 this.year = 0; 117 d.year = YearFromTime(t); 125 d.value = TimeClip( MakeDate( MakeDay( d.year, d.month, d.date ), d.time ) );
|
15.9.5.23-18.js | 66 // fixed_year = ( ExpectDate.year >=1900 || ExpectDate.year < 2000 ) ? ExpectDate.year - 1900 : ExpectDate.year; 71 testcases[item++] = new TestCase( SECTION, DateString+".getUTCFullYear()", UTCDate.year, DateCase.getUTCFullYear() ); 80 testcases[item++] = new TestCase( SECTION, DateString+".getFullYear()", LocalDate.year, DateCase.getFullYear() ); 97 this.year = 0; 114 d.year = YearFromTime(t); 122 d.value = TimeClip( MakeDate( MakeDay( d.year, d.month, d.date ), d.time ) );
|
15.9.5.25-1.js | 120 // fixed_year = ( ExpectDate.year >=1900 || ExpectDate.year < 2000 ) ? ExpectDate.year - 1900 : ExpectDate.year; 125 testcases[item++] = new TestCase( SECTION, DateString+".getUTCFullYear()", UTCDate.year, DateCase.getUTCFullYear() ); 134 testcases[item++] = new TestCase( SECTION, DateString+".getFullYear()", LocalDate.year, DateCase.getFullYear() ); 151 this.year = 0; 168 d.year = YearFromTime(t); 177 d.value = TimeClip( MakeDate( MakeDay( d.year, d.month, d.date ), d.time ) );
|
15.9.5.26-1.js | 130 // fixed_year = ( ExpectDate.year >=1900 || ExpectDate.year < 2000 ) ? ExpectDate.year - 1900 : ExpectDate.year; 135 testcases[item++] = new TestCase( SECTION, DateString+".getUTCFullYear()", UTCDate.year, DateCase.getUTCFullYear() ); 144 testcases[item++] = new TestCase( SECTION, DateString+".getFullYear()", LocalDate.year, DateCase.getFullYear() ); 162 this.year = 0; 179 d.year = YearFromTime(t); 188 d.value = TimeClip( MakeDate( MakeDay( d.year, d.month, d.date ), d.time ) );
|
15.9.5.27-1.js | 128 // fixed_year = ( ExpectDate.year >=1900 || ExpectDate.year < 2000 ) ? ExpectDate.year - 1900 : ExpectDate.year; 133 testcases[item++] = new TestCase( SECTION, DateString+".getUTCFullYear()", UTCDate.year, DateCase.getUTCFullYear() ); 142 testcases[item++] = new TestCase( SECTION, DateString+".getFullYear()", LocalDate.year, DateCase.getFullYear() ); 160 this.year = 0; 177 d.year = YearFromTime(t); 186 d.value = TimeClip( MakeDate( MakeDay( d.year, d.month, d.date ), d.time ) );
|
15.9.5.28-1.js | 142 // fixed_year = ( ExpectDate.year >=1900 || ExpectDate.year < 2000 ) ? ExpectDate.year - 1900 : ExpectDate.year; 147 testcases[item++] = new TestCase( SECTION, DateString+".getUTCFullYear()", UTCDate.year, DateCase.getUTCFullYear() ); 156 testcases[item++] = new TestCase( SECTION, DateString+".getFullYear()", LocalDate.year, DateCase.getFullYear() ); 174 this.year = 0; 191 d.year = YearFromTime(t); 200 d.value = TimeClip( MakeDate( MakeDay( d.year, d.month, d.date ), d.time ) );
|
15.9.5.29-1.js | 138 // fixed_year = ( ExpectDate.year >=1900 || ExpectDate.year < 2000 ) ? ExpectDate.year - 1900 : ExpectDate.year; 143 testcases[item++] = new TestCase( SECTION, DateString+".getUTCFullYear()", UTCDate.year, DateCase.getUTCFullYear() ); 152 testcases[item++] = new TestCase( SECTION, DateString+".getFullYear()", LocalDate.year, DateCase.getFullYear() ); 169 this.year = 0; 186 d.year = YearFromTime(t); 195 d.value = TimeClip( MakeDate( MakeDay( d.year, d.month, d.date ), d.time ) );
|
15.9.5.30-1.js | 145 testcases[item++] = new TestCase( SECTION, DateString+".getUTCFullYear()", UTCDate.year, DateCase.getUTCFullYear() ); 154 testcases[item++] = new TestCase( SECTION, DateString+".getFullYear()", LocalDate.year, DateCase.getFullYear() ); 172 this.year = 0; 189 d.year = YearFromTime(t); 199 d.value = TimeClip( MakeDate( MakeDay( d.year, d.month, d.date ), d.time ) );
|
15.9.5.31-1.js | 139 // fixed_year = ( ExpectDate.year >=1900 || ExpectDate.year < 2000 ) ? ExpectDate.year - 1900 : ExpectDate.year; 144 testcases[item++] = new TestCase( SECTION, DateString+".getUTCFullYear()", UTCDate.year, DateCase.getUTCFullYear() ); 153 testcases[item++] = new TestCase( SECTION, DateString+".getFullYear()", LocalDate.year, DateCase.getFullYear() ); 170 this.year = 0; 187 d.year = YearFromTime(t); 196 d.value = TimeClip( MakeDate( MakeDay( d.year, d.month, d.date ), d.time ) );
|
15.9.5.32-1.js | 93 testcases[item++] = new TestCase( SECTION, DateString+".getUTCFullYear()", UTCDate.year, DateCase.getUTCFullYear() ); 102 testcases[item++] = new TestCase( SECTION, DateString+".getFullYear()", LocalDate.year, DateCase.getFullYear() ); 119 this.year = 0; 136 d.year = YearFromTime(t); 145 d.value = TimeClip( MakeDate( MakeDay( d.year, d.month, d.date ), d.time ) );
|
15.9.5.33-1.js | 93 testcases[item++] = new TestCase( SECTION, DateString+".getUTCFullYear()", UTCDate.year, DateCase.getUTCFullYear() ); 102 testcases[item++] = new TestCase( SECTION, DateString+".getFullYear()", LocalDate.year, DateCase.getFullYear() ); 119 this.year = 0; 136 d.year = YearFromTime(t); 145 d.value = TimeClip( MakeDate( MakeDay( d.year, d.month, d.date ), d.time ) );
|
15.9.5.34-1.js | 152 // fixed_year = ( ExpectDate.year >=1900 || ExpectDate.year < 2000 ) ? ExpectDate.year - 1900 : ExpectDate.year; 157 testcases[item++] = new TestCase( SECTION, DateString+".getUTCFullYear()", UTCDate.year, DateCase.getUTCFullYear() ); 166 testcases[item++] = new TestCase( SECTION, DateString+".getFullYear()", LocalDate.year, DateCase.getFullYear() ); 183 this.year = 0; 200 d.year = YearFromTime(t); 209 d.value = TimeClip( MakeDate( MakeDay( d.year, d.month, d.date ), d.time ) );
|
15.9.5.35-1.js | 72 // fixed_year = ( ExpectDate.year >=1900 || ExpectDate.year < 2000 ) ? ExpectDate.year - 1900 : ExpectDate.year; 77 testcases[item++] = new TestCase( SECTION, DateString+".getUTCFullYear()", UTCDate.year, DateCase.getUTCFullYear() ); 86 testcases[item++] = new TestCase( SECTION, DateString+".getFullYear()", LocalDate.year, DateCase.getFullYear() ); 103 this.year = 0; 120 d.year = YearFromTime(t); 129 d.value = TimeClip( MakeDate( MakeDay( d.year, d.month, d.date ), d.time ) );
|
/frameworks/base/telephony/java/android/telephony/ |
SmsCbMessage.java | 413 int year = IccUtils.gsmBcdByteToInt(pdu[6]); local 435 time.year = year >= 90 ? year + 1900 : year + 2000;
|
/libcore/luni/src/test/java/libcore/java/util/ |
CalendarTest.java | 145 private void testSetSelfConsistent(TimeZone timeZone, int year, int month, int day) { 150 calendar.set(year, month, day, hour, minute); 151 assertEquals(year, calendar.get(Calendar.YEAR)); 193 int year, int month, int day, int hour, int minute) { 194 assertEquals(year, calendar.get(Calendar.YEAR));
|
/external/icu4c/i18n/ |
basictz.cpp | 155 // within roughly 1 year from the specified date 161 int32_t year, month, dom, dow, doy, mid; local 166 year, month, dom, dow, doy, mid); 167 int32_t weekInMonth = Grego::dayOfWeekInMonth(year, month, dom); 179 dtr, year, AnnualTimeZoneRule::MAX_YEAR); 186 // and within roughly 1 year from the next transition 193 year, month, dom, dow, doy, mid); 194 weekInMonth = Grego::dayOfWeekInMonth(year, month, dom); 199 dtr, year - 1, AnnualTimeZoneRule::MAX_YEAR); 224 year, month, dom, dow, doy, mid) 479 int32_t year, month, dom, dow, doy, mid; local [all...] |
/external/wpa_supplicant_6/wpa_supplicant/src/utils/ |
os_win32.c | 55 int os_mktime(int year, int month, int day, int hour, int min, int sec, 62 if (year < 1970 || month < 1 || month > 12 || day < 1 || day > 31 || 68 tm.tm_year = year - 1900;
|
/external/wpa_supplicant_8/src/utils/ |
os_win32.c | 55 int os_mktime(int year, int month, int day, int hour, int min, int sec, 62 if (year < 1970 || month < 1 || month > 12 || day < 1 || day > 31 || 68 tm.tm_year = year - 1900;
|
/packages/apps/Calendar/tests/src/com/android/calendar/ |
WeekNumberTest.java | 37 public DateAndWeekNumber(int year, int month, int day, int expectedWeekNumber) { 41 date.set(0, 0, 0, day, month, year); 44 allDayDate.set(day, month, year);
|
/external/v8/test/mjsunit/regress/ |
regress-91.js | 29 var year = date.getYear(); variable 31 date.setYear(1900 + year); 32 assertEquals(year, date.getYear());
|
/cts/tests/src/android/app/cts/ |
DialogStubActivity.java | 101 public void onDateSet(DatePicker view, int year, int monthOfYear, int dayOfMonth) { 102 updatedYear = year; 389 public MockDatePickerDialog(Context context, OnDateSetListener callBack, int year, 391 super(context, callBack, year, monthOfYear, dayOfMonth); 395 int year, int monthOfYear, int dayOfMonth) { 396 super(context, theme, callBack, year, monthOfYear, dayOfMonth); 406 public void onDateChanged(DatePicker view, int year, int month, int day) { 408 super.onDateChanged(view, year, month, day);
|