Home
last modified time | relevance | path

Searched refs:julian (Results 1 – 16 of 16) sorted by relevance

/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/calendar/
DChineseTestCase.java30 public ChineseTestCase(double julian, in ChineseTestCase() argument
34 setTime(new Date(JULIAN_EPOCH + (long)(ONE_DAY * julian))); in ChineseTestCase()
DTestCase.java89 public TestCase(double julian, in TestCase() argument
94 setTime(new Date(JULIAN_EPOCH + (long)(ONE_DAY * julian))); in TestCase()
DCompatibilityTest.java146 int julian = jd; in TestMapping() local
147 if (sign==0) julian = -julian; in TestMapping()
148 long millis = ((long)julian - EPOCH_JULIAN) * ONE_DAY; in TestMapping()
185 int julian = DATA[i]; in TestMapping() local
190 long millis = (julian - EPOCH_JULIAN) * ONE_DAY; in TestMapping()
/external/icu/icu4c/source/i18n/
Dgregoimp.h232 static inline double julianDayToMillis(int32_t julian);
279 inline double Grego::julianDayToMillis(int32_t julian) in julianDayToMillis() argument
281 return (julian - kEpochStartAsJulianDay) * kOneDay; in julianDayToMillis()
Dgregoimp.cpp89 double julian = 365 * y + ClockMath::floorDivide(y, 4) + (JULIAN_1_CE - 3) + // Julian cal in fieldsToDay() local
93 return julian - JULIAN_1970_CE; // JD => epoch day in fieldsToDay()
Dgregocal.cpp794 GregorianCalendar::julianDayToMillis(double julian) in julianDayToMillis() argument
796 return (UDate) ((julian - kEpochStartAsJulianDay) * (double) kOneDay); in julianDayToMillis()
Dcalendar.cpp1554 uint8_t Calendar::julianDayToDayOfWeek(double julian) in julianDayToDayOfWeek() argument
1558 int8_t dayOfWeek = (int8_t) uprv_fmod(julian + 1, 7); in julianDayToDayOfWeek()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
DGrego.java95 long julian = in fieldsToDay() local
99 return julian - JULIAN_1970_CE; // JD => epoch day in fieldsToDay()
DCalendarAstronomer.java582 /*public*/ double[] getSunLongitude(double julian) in getSunLongitude() argument
587 double day = julian - JD_EPOCH; // Days since epoch in getSunLongitude()
/external/icu/icu4c/source/test/intltest/
Dcalcasts.h28 double julian; // Julian Date member
Dcalcasts.cpp52 UDate t = (JULIAN_EPOCH+(ONE_DAY*cases[i].julian)); in doTestCases()
54 logln("Test case %d: julianday%f -> date %f\n", i, cases[i].julian, t); in doTestCases()
/external/icu/icu4c/source/i18n/unicode/
Dgregocal.h734 static UDate julianDayToMillis(double julian);
Dcalendar.h2326 static uint8_t julianDayToDayOfWeek(double julian);
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/
DCalendar.java6273 protected static final long julianDayToMillis(int julian) {
6274 return (julian - EPOCH_JULIAN_DAY) * ONE_DAY;
6281 protected static final int julianDayToDayOfWeek(int julian) {
6284 int dayOfWeek = (julian + MONDAY) % 7;
/external/tcpdump/
DCREDITS103 Julian Cowley <julian at lava dot net>
DCHANGES476 HSRP dissector, from Julian Cowley <julian@lava.net>.