/external/icu/android_icu4j/src/main/java/android/icu/util/ |
DangiCalendar.java | 65 long[] millis1897 = { (1897 - 1970) * 365L * ONE_DAY }; // some days of error is not a problem here 66 long[] millis1898 = { (1898 - 1970) * 365L * ONE_DAY }; // some days of error is not a problem here 67 long[] millis1912 = { (1912 - 1970) * 365L * ONE_DAY }; // this doesn't create an issue for 1911/12/20
|
IslamicCalendar.java | [all...] |
Calendar.java | [all...] |
ChineseCalendar.java | 654 long millis = days * ONE_DAY; 664 return (int) floorDivide(millis + zoneAstro.getOffset(millis), ONE_DAY); [all...] |
GregorianCalendar.java | 482 cutoverJulianDay = (int) floorDivide(gregorianCutover, ONE_DAY); [all...] |
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/ |
DangiCalendar.java | 63 long[] millis1897 = { (1897 - 1970) * 365L * ONE_DAY }; // some days of error is not a problem here 64 long[] millis1898 = { (1898 - 1970) * 365L * ONE_DAY }; // some days of error is not a problem here 65 long[] millis1912 = { (1912 - 1970) * 365L * ONE_DAY }; // this doesn't create an issue for 1911/12/20
|
IslamicCalendar.java | [all...] |
Calendar.java | [all...] |
ChineseCalendar.java | 672 long millis = days * ONE_DAY; 682 return (int) floorDivide(millis + zoneAstro.getOffset(millis), ONE_DAY); [all...] |
GregorianCalendar.java | 497 cutoverJulianDay = (int) floorDivide(gregorianCutover, ONE_DAY); [all...] |
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/calendar/ |
ChineseTestCase.java | 35 setTime(new Date(JULIAN_EPOCH + (long)(ONE_DAY * julian)));
|
TestCase.java | 95 setTime(new Date(JULIAN_EPOCH + (long)(ONE_DAY * julian))); 239 protected static final long ONE_DAY = 24*ONE_HOUR;
|
CompatibilityTest.java | 74 final int ONE_DAY = 24*60*60*1000; 100 Date d = new Date(co.getTime() + i*ONE_DAY); 123 final long ONE_DAY = 24*60*60*1000L; 152 long millis = ((long)julian - EPOCH_JULIAN) * ONE_DAY; 173 final long ONE_DAY = 24*60*60*1000L; 194 long millis = (julian - EPOCH_JULIAN) * ONE_DAY; 209 " (" + ((float)delta/ONE_DAY) + " day delta) => " + 230 " (" + ((float)delta/ONE_DAY) + " day delta) => " + [all...] |
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/calendar/ |
ChineseTestCase.java | 34 setTime(new Date(JULIAN_EPOCH + (long)(ONE_DAY * julian)));
|
TestCase.java | 94 setTime(new Date(JULIAN_EPOCH + (long)(ONE_DAY * julian))); 238 protected static final long ONE_DAY = 24*ONE_HOUR;
|
CompatibilityTest.java | 70 final int ONE_DAY = 24*60*60*1000; 96 Date d = new Date(co.getTime() + i*ONE_DAY); 119 final long ONE_DAY = 24*60*60*1000L; 148 long millis = ((long)julian - EPOCH_JULIAN) * ONE_DAY; 169 final long ONE_DAY = 24*60*60*1000L; 190 long millis = (julian - EPOCH_JULIAN) * ONE_DAY; 205 " (" + ((float)delta/ONE_DAY) + " day delta) => " + 226 " (" + ((float)delta/ONE_DAY) + " day delta) => " + [all...] |
/external/icu/icu4c/source/test/intltest/ |
tzbdtest.h | 88 const UDate ONE_DAY;
|
tzbdtest.cpp | 55 ONE_DAY(24 * ONE_HOUR), 56 ONE_YEAR(uprv_floor(365.25 * ONE_DAY)), 455 UDate limit = time + ONE_YEAR + ONE_DAY; 505 findBoundariesStepwise(1997, ONE_DAY, zone, 2); 508 findBoundariesStepwise(1997, ONE_DAY, zone, 0); 511 findBoundariesStepwise(1997, ONE_DAY, zone, 2);
|
calregts.cpp | [all...] |
calcasts.cpp | 46 static const double ONE_DAY = 24*ONE_HOUR; 52 UDate t = (JULIAN_EPOCH+(ONE_DAY*cases[i].julian));
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/timezone/ |
TimeZoneBoundaryTest.java | 31 static final long ONE_DAY = 24*ONE_HOUR; 32 static final long ONE_YEAR = (long)(365.25 * ONE_DAY); 520 // long max = min + (long)(365.25 / 2 * ONE_DAY); 556 // long max = millis + (long)(370 * ONE_DAY); // A year plus extra 659 long max = min + (long)(365.25 / 2 * ONE_DAY); 698 long max = millis + (long)(370 * ONE_DAY); // A year plus extra 812 long limit = time + ONE_YEAR + ONE_DAY; 851 findBoundariesStepwise(1997, ONE_DAY, safeGetTimeZone("America/New_York"), 2); 853 // findBoundariesStepwise(1997, ONE_DAY, safeGetTimeZone("ACT"), 2); 854 findBoundariesStepwise(1997, ONE_DAY, safeGetTimeZone("America/Phoenix"), 0); // Added 3Jan0 [all...] |
TimeZoneRegression.java | 217 final int ONE_DAY = 24*60*60*1000; 238 millis += ONE_DAY; 242 while (millis >= ONE_DAY) { 243 millis -= ONE_DAY; [all...] |
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/timezone/ |
TimeZoneBoundaryTest.java | 27 static final long ONE_DAY = 24*ONE_HOUR; 28 static final long ONE_YEAR = (long)(365.25 * ONE_DAY); 516 // long max = min + (long)(365.25 / 2 * ONE_DAY); 552 // long max = millis + (long)(370 * ONE_DAY); // A year plus extra 655 long max = min + (long)(365.25 / 2 * ONE_DAY); 694 long max = millis + (long)(370 * ONE_DAY); // A year plus extra 808 long limit = time + ONE_YEAR + ONE_DAY; 847 findBoundariesStepwise(1997, ONE_DAY, safeGetTimeZone("America/New_York"), 2); 849 // findBoundariesStepwise(1997, ONE_DAY, safeGetTimeZone("ACT"), 2); 850 findBoundariesStepwise(1997, ONE_DAY, safeGetTimeZone("America/Phoenix"), 0); // Added 3Jan0 [all...] |
/libcore/ojluni/src/main/java/java/util/ |
GregorianCalendar.java | 403 // Useful millisecond constants. Although ONE_DAY and ONE_WEEK can fit 409 private static final long ONE_DAY = 24*ONE_HOUR; 410 private static final long ONE_WEEK = 7*ONE_DAY; 530 (((DEFAULT_GREGORIAN_CUTOVER + 1)/ONE_DAY) - 1) + EPOCH_OFFSET; // == 577736 757 gregorianCutoverDate = CalendarUtils.floorDivide(cutoverTime, ONE_DAY) [all...] |
/external/chromium-trace/catapult/third_party/Paste/tests/ |
test_httpheaders.py | 59 CACHE_CONTROL(max_age=CACHE_CONTROL.ONE_DAY)
|