Home
last modified time | relevance | path

Searched refs:DAY_MS (Results 1 – 7 of 7) sorted by relevance

/external/icu/android_icu4j/src/main/java/android/icu/impl/
DCalendarAstronomer.java145 public static final long DAY_MS = 24*HOUR_MS; field in CalendarAstronomer
298 time = (long)(jdn * DAY_MS) + JULIAN_EPOCH_MS; in setJulianDay()
339 julianDay = (double)(time - JULIAN_EPOCH_MS) / (double)DAY_MS; in getJulianDay()
406 long base = DAY_MS * ((time + fGmtOffset)/DAY_MS) - fGmtOffset; in lstToUT()
695 long noon = ((time + fGmtOffset)/DAY_MS)*DAY_MS - fGmtOffset + 12*HOUR_MS;
1224 double deltaT = (deltaAngle + (next ? 0 : -PI2)) * (periodDays*DAY_MS) / PI2;
1266 long delta = (long) (periodDays * DAY_MS / 8);
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
DCalendarAstronomer.java143 public static final long DAY_MS = 24*HOUR_MS; field in CalendarAstronomer
296 time = (long)(jdn * DAY_MS) + JULIAN_EPOCH_MS; in setJulianDay()
337 julianDay = (double)(time - JULIAN_EPOCH_MS) / (double)DAY_MS; in getJulianDay()
404 long base = DAY_MS * ((time + fGmtOffset)/DAY_MS) - fGmtOffset; in lstToUT()
693 long noon = ((time + fGmtOffset)/DAY_MS)*DAY_MS - fGmtOffset + 12*HOUR_MS;
1222 double deltaT = (deltaAngle + (next ? 0 : -PI2)) * (periodDays*DAY_MS) / PI2;
1264 long delta = (long) (periodDays * DAY_MS / 8);
/external/icu/icu4c/source/i18n/
Dastro.cpp176 #define DAY_MS U_MILLIS_PER_DAY macro
322 fTime = (double)(jdn * DAY_MS) + JULIAN_EPOCH_MS; in setJulianDay()
353 julianDay = (fTime - (double)JULIAN_EPOCH_MS) / (double)DAY_MS; in getJulianDay()
423 double base = (DAY_MS * ClockMath::floorDivide(fTime + fGmtOffset,(double)DAY_MS)) - fGmtOffset; in lstToUT()
754 …double noon = ClockMath::floorDivide(fTime + fGmtOffset, (double)DAY_MS)*DAY_MS - fGmtOffset + (12… in getSunRiseSet()
1308 …double deltaT = (deltaAngle + (next ? 0.0 : - CalendarAstronomer_PI2 )) * (periodDays*DAY_MS) / C… in timeOfAngle()
1350 double delta = uprv_ceil (periodDays * DAY_MS / 8.0); in timeOfAngle()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/calendar/
DCalendarTest.java443 return (cal.getTime().getTime() - JULIAN_EPOCH) / DAY_MS; in getJulianDay()
446 static final double DAY_MS = 24*60*60*1000.0; field in CalendarTest
DAstroTest.java184 static final long DAY_MS = 24*60*60*1000L; field in AstroTest
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/calendar/
DCalendarTest.java439 return (cal.getTime().getTime() - JULIAN_EPOCH) / DAY_MS; in getJulianDay()
442 static final double DAY_MS = 24*60*60*1000.0; field in CalendarTest
DAstroTest.java180 static final long DAY_MS = 24*60*60*1000L; field in AstroTest