Home
last modified time | relevance | path

Searched refs:JULIAN_EPOCH (Results 1 – 8 of 8) sorted by relevance

/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/util/
DIndianCalendar.java479 double JULIAN_EPOCH = 1721425.5; in gregorianToJD() local
488 return result - 1 + JULIAN_EPOCH; in gregorianToJD()
497 double JULIAN_EPOCH = 1721425.5; in jdToGregorian() local
502 depoch = wjd - JULIAN_EPOCH; in jdToGregorian()
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/calendar/
DTestCase.java96 setTime(new Date(JULIAN_EPOCH + (long)(ONE_DAY * julian))); in TestCase()
242 protected static final long JULIAN_EPOCH = -210866760000000L; // 1/1/4713 BC 12:00 field in TestCase
DChineseTestCase.java36 setTime(new Date(JULIAN_EPOCH + (long)(ONE_DAY * julian))); in ChineseTestCase()
DCalendarTestFmwk.java441 return (cal.getTime().getTime() - JULIAN_EPOCH) / DAY_MS; in getJulianDay()
445 static final long JULIAN_EPOCH = -210866760000000L; // 1/1/4713 BC 12:00 field in CalendarTestFmwk
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/calendar/
DTestCase.java99 setTime(new Date(JULIAN_EPOCH + (long)(ONE_DAY * julian))); in TestCase()
245 protected static final long JULIAN_EPOCH = -210866760000000L; // 1/1/4713 BC 12:00 field in TestCase
DChineseTestCase.java39 setTime(new Date(JULIAN_EPOCH + (long)(ONE_DAY * julian))); in ChineseTestCase()
DCalendarTestFmwk.java444 return (cal.getTime().getTime() - JULIAN_EPOCH) / DAY_MS; in getJulianDay()
448 static final long JULIAN_EPOCH = -210866760000000L; // 1/1/4713 BC 12:00 field in CalendarTestFmwk
/third_party/icu/icu4c/source/test/intltest/
Dcalcasts.cpp49 static const double JULIAN_EPOCH = -210866760000000.; // 1/1/4713 BC 12:00 in doTestCases() local
54 UDate t = (JULIAN_EPOCH+(ONE_DAY*cases[i].julian)); in doTestCases()