Home
last modified time | relevance | path

Searched refs:HOUR_MS (Results 1 – 2 of 2) sorted by relevance

/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
DCalendarAstronomer.java137 public static final int HOUR_MS = 60*MINUTE_MS; field in CalendarAstronomer
143 public static final long DAY_MS = 24*HOUR_MS;
243 fGmtOffset = (long)(fLongitude * 24 * HOUR_MS / PI2); in CalendarAstronomer()
365 double UT = normalize((double)time/HOUR_MS, 24); in getGreenwichSidereal()
387 return normalize(getGreenwichSidereal() + (double)fGmtOffset/HOUR_MS, 24); in getLocalSidereal()
409 return base + (long)(lt * HOUR_MS); in lstToUT()
693 long noon = ((time + fGmtOffset)/DAY_MS)*DAY_MS - fGmtOffset + 12*HOUR_MS;
695 setTime(noon + (rise ? -6L : 6L) * HOUR_MS);
/external/icu/icu4c/source/i18n/
Dastro.cpp169 #define HOUR_MS U_MILLIS_PER_HOUR macro
276 fGmtOffset = (double)(fLongitude * 24. * (double)HOUR_MS / (double)CalendarAstronomer_PI2); in CalendarAstronomer()
383 double UT = normalize(fTime/(double)HOUR_MS, 24.); in getGreenwichSidereal()
406 return normalize(getGreenwichSidereal() + (fGmtOffset/(double)HOUR_MS), 24.); in getLocalSidereal()
428 return base + (long)(lt * HOUR_MS); in lstToUT()
754 …on = ClockMath::floorDivide(fTime + fGmtOffset, (double)DAY_MS)*DAY_MS - fGmtOffset + (12*HOUR_MS); in getSunRiseSet()
757 setTime(noon + ((rise ? -6 : 6) * HOUR_MS)); in getSunRiseSet()
758 U_DEBUG_ASTRO_MSG(("added %.2lf ms as a guess,\n", ((rise ? -6. : 6.) * HOUR_MS))); in getSunRiseSet()