Home
last modified time | relevance | path

Searched refs:ONE_DAY (Results 1 – 20 of 20) sorted by relevance

/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/
DDangiCalendar.java63 …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/1…
DIslamicCalendar.java647 + (long)Math.floor(month * CalendarAstronomer.SYNODIC_MONTH) * ONE_DAY; in trueMonthStart()
654 origin -= ONE_DAY; in trueMonthStart()
661 origin += ONE_DAY; in trueMonthStart()
666 start = (origin - HIJRA_MILLIS) / ONE_DAY + 1; in trueMonthStart()
DCalendar.java1229 protected static final long ONE_DAY = 24*ONE_HOUR; field in Calendar
1237 protected static final long ONE_WEEK = 7*ONE_DAY;
1291 protected static final long MAX_MILLIS = (MAX_JULIAN - EPOCH_JULIAN_DAY) * ONE_DAY;
3098 long delta = amount * ONE_DAY; // Scale up from days to millis in roll()
3099 long min2 = time - (internalGet(DAY_OF_YEAR) - 1) * ONE_DAY; in roll()
3101 time = (time + delta - min2) % (yearLength*ONE_DAY); in roll()
3102 if (time < 0) time += yearLength*ONE_DAY; in roll()
3112 long delta = amount * ONE_DAY; // Scale up from days to millis in roll()
3118 long min2 = time - leadDays * ONE_DAY; in roll()
3294 delta *= ONE_DAY; in add()
[all …]
DChineseCalendar.java672 long millis = days * ONE_DAY; in daysToMillis()
682 return (int) floorDivide(millis + zoneAstro.getOffset(millis), ONE_DAY); in millisToDays()
DGregorianCalendar.java497 cutoverJulianDay = (int) floorDivide(gregorianCutover, ONE_DAY); in setGregorianChange()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/timezone/
DTimeZoneBoundaryTest.java27 static final long ONE_DAY = 24*ONE_HOUR; field in TimeZoneBoundaryTest
28 static final long ONE_YEAR = (long)(365.25 * ONE_DAY);
655 long max = min + (long)(365.25 / 2 * ONE_DAY); in _testUsingBinarySearch()
808 long limit = time + ONE_YEAR + ONE_DAY; in findBoundariesStepwise()
847 findBoundariesStepwise(1997, ONE_DAY, safeGetTimeZone("America/New_York"), 2); in TestStepwise()
850 … findBoundariesStepwise(1997, ONE_DAY, safeGetTimeZone("America/Phoenix"), 0); // Added 3Jan01 in TestStepwise()
851 findBoundariesStepwise(1997, ONE_DAY, safeGetTimeZone(AUSTRALIA), 2); in TestStepwise()
DTimeZoneRegression.java213 final int ONE_DAY = 24*60*60*1000; in checkCalendar314() local
234 millis += ONE_DAY; in checkCalendar314()
238 while (millis >= ONE_DAY) { in checkCalendar314()
239 millis -= ONE_DAY; in checkCalendar314()
/external/icu/icu4c/source/test/intltest/
Dcalregts.cpp2032 #define ONE_DAY (24*ONE_HOUR) macro
2060 UDate days = ONE_DAY; in TestJ81()
2171 { UCAL_WEEK_OF_YEAR, ADD_ROLL, PLUS_MINUS, 1, -ONE_DAY, +6*ONE_DAY }, in TestJ81()
2172 { UCAL_WEEK_OF_YEAR, ADD_ROLL, PLUS_MINUS, 1, -ONE_DAY, +6*ONE_DAY }, in TestJ81()
2173 { UCAL_WEEK_OF_MONTH, ADD|ROLL, PLUS|MINUS, 1, -ONE_DAY, +6*ONE_DAY }, in TestJ81()
2174 { UCAL_DATE, ADD|ROLL, PLUS|MINUS, 2, -ONE_DAY, +1*ONE_DAY }, in TestJ81()
2175 { UCAL_DATE, ROLL, PLUS, -6, -ONE_DAY, +14*ONE_DAY }, in TestJ81()
2176 { UCAL_DATE, ROLL, PLUS, -7, 0, +14*ONE_DAY }, in TestJ81()
2177 { UCAL_DATE, ROLL, PLUS, -7, +ONE_DAY, +15*ONE_DAY }, in TestJ81()
2178 { UCAL_DATE, ROLL, PLUS, +18, -ONE_DAY, -4*ONE_DAY }, in TestJ81()
[all …]
Dtzbdtest.cpp55 ONE_DAY(24 * ONE_HOUR), in TimeZoneBoundaryTest()
56 ONE_YEAR(uprv_floor(365.25 * ONE_DAY)), in TimeZoneBoundaryTest()
455 UDate limit = time + ONE_YEAR + ONE_DAY; in findBoundariesStepwise()
505 findBoundariesStepwise(1997, ONE_DAY, zone, 2); in TestStepwise()
508 findBoundariesStepwise(1997, ONE_DAY, zone, 0); in TestStepwise()
511 findBoundariesStepwise(1997, ONE_DAY, zone, 2); in TestStepwise()
Dtzbdtest.h88 const UDate ONE_DAY; variable
Dcalcasts.cpp46 static const double ONE_DAY = 24*ONE_HOUR; in doTestCases() local
52 UDate t = (JULIAN_EPOCH+(ONE_DAY*cases[i].julian)); in doTestCases()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/calendar/
DTestCase.java94 setTime(new Date(JULIAN_EPOCH + (long)(ONE_DAY * julian))); in TestCase()
238 protected static final long ONE_DAY = 24*ONE_HOUR; field in TestCase
DChineseTestCase.java34 setTime(new Date(JULIAN_EPOCH + (long)(ONE_DAY * julian))); in ChineseTestCase()
DCompatibilityTest.java70 final int ONE_DAY = 24*60*60*1000; in TestGregorianChangeover() local
96 Date d = new Date(co.getTime() + i*ONE_DAY); in TestGregorianChangeover()
119 final long ONE_DAY = 24*60*60*1000L; in TestMapping() local
148 long millis = ((long)julian - EPOCH_JULIAN) * ONE_DAY; in TestMapping()
169 final long ONE_DAY = 24*60*60*1000L; in TestMapping() local
190 long millis = (julian - EPOCH_JULIAN) * ONE_DAY; in TestMapping()
205 " (" + ((float)delta/ONE_DAY) + " day delta) => " + in TestMapping()
226 " (" + ((float)delta/ONE_DAY) + " day delta) => " + in TestMapping()
/external/chromium-trace/trace-viewer/third_party/Paste/paste/
Dhttpheaders.py709 ONE_DAY = ONE_HOUR * 24 variable in _CacheControl
710 ONE_WEEK = ONE_DAY * 7
711 ONE_MONTH = ONE_DAY * 30
/external/chromium-trace/trace-viewer/third_party/Paste/tests/
Dtest_httpheaders.py59 CACHE_CONTROL(max_age=CACHE_CONTROL.ONE_DAY)
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/
Dcom.ibm.icu_4.2.1.v20100412.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF ...
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/org.apache.ant_1.7.1.v20090120-1145/lib/
Dant.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/apache/ org/ ...
/external/owasp/sanitizer/tools/findbugs/lib/
Dant.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/apache/ org/ ...
/external/jarjar/lib/
Dapache-ant-1.9.4.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/apache/ org/ ...