Home
last modified time | relevance | path

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

/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
DCalendarAstronomer.java139 public static final int HOUR_MS = 60*MINUTE_MS; field in CalendarAstronomer
145 public static final long DAY_MS = 24*HOUR_MS;
245 fGmtOffset = (long)(fLongitude * 24 * HOUR_MS / PI2); in CalendarAstronomer()
367 double UT = normalize((double)time/HOUR_MS, 24); in getGreenwichSidereal()
389 return normalize(getGreenwichSidereal() + (double)fGmtOffset/HOUR_MS, 24); in getLocalSidereal()
411 return base + (long)(lt * HOUR_MS); in lstToUT()
695 long noon = ((time + fGmtOffset)/DAY_MS)*DAY_MS - fGmtOffset + 12*HOUR_MS;
697 setTime(noon + (rise ? -6L : 6L) * HOUR_MS);
/external/icu/android_icu4j/src/main/java/android/icu/impl/
DCalendarAstronomer.java141 public static final int HOUR_MS = 60*MINUTE_MS; field in CalendarAstronomer
147 public static final long DAY_MS = 24*HOUR_MS;
247 fGmtOffset = (long)(fLongitude * 24 * HOUR_MS / PI2); in CalendarAstronomer()
369 double UT = normalize((double)time/HOUR_MS, 24); in getGreenwichSidereal()
391 return normalize(getGreenwichSidereal() + (double)fGmtOffset/HOUR_MS, 24); in getLocalSidereal()
413 return base + (long)(lt * HOUR_MS); in lstToUT()
697 long noon = ((time + fGmtOffset)/DAY_MS)*DAY_MS - fGmtOffset + 12*HOUR_MS;
699 setTime(noon + (rise ? -6L : 6L) * HOUR_MS);
/external/icu/icu4c/source/i18n/
Dastro.cpp171 #define HOUR_MS U_MILLIS_PER_HOUR macro
278 fGmtOffset = (double)(fLongitude * 24. * (double)HOUR_MS / (double)CalendarAstronomer_PI2); in CalendarAstronomer()
385 double UT = normalize(fTime/(double)HOUR_MS, 24.); in getGreenwichSidereal()
408 return normalize(getGreenwichSidereal() + (fGmtOffset/(double)HOUR_MS), 24.); in getLocalSidereal()
430 return base + (long)(lt * HOUR_MS); in lstToUT()
756 …on = ClockMath::floorDivide(fTime + fGmtOffset, (double)DAY_MS)*DAY_MS - fGmtOffset + (12*HOUR_MS); in getSunRiseSet()
759 setTime(noon + ((rise ? -6 : 6) * HOUR_MS)); in getSunRiseSet()
760 U_DEBUG_ASTRO_MSG(("added %.2lf ms as a guess,\n", ((rise ? -6. : 6.) * HOUR_MS))); in getSunRiseSet()