Home
last modified time | relevance | path

Searched refs:julianDay (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/core/tests/coretests/src/android/text/format/
DTimeTest.java553 int julianDay = Time.getJulianDay(millis, time.gmtoff); in disableTestGetJulianDay() local
562 if (day != julianDay) { in disableTestGetJulianDay()
565 + " != today's Julian day: " + julianDay in disableTestGetJulianDay()
568 assertEquals(day, julianDay); in disableTestGetJulianDay()
592 int julianDay = Time.getJulianDay(millis, time.gmtoff); in disableTestSetJulianDay() local
594 time.setJulianDay(julianDay); in disableTestSetJulianDay()
608 if (day != julianDay) { in disableTestSetJulianDay()
610 + " day " + julianDay in disableTestSetJulianDay()
614 assertEquals(day, julianDay); in disableTestSetJulianDay()
/frameworks/base/core/java/android/text/format/
DTime.java974 long julianDay = (millis + offsetMillis) / DateUtils.DAY_IN_MILLIS; in getJulianDay() local
975 return (int) julianDay + EPOCH_JULIAN_DAY; in getJulianDay()
998 public long setJulianDay(int julianDay) { in setJulianDay() argument
1002 long millis = (julianDay - EPOCH_JULIAN_DAY) * DateUtils.DAY_IN_MILLIS; in setJulianDay()
1008 int diff = julianDay - approximateDay; in setJulianDay()
1031 public static int getWeeksSinceEpochFromJulianDay(int julianDay, int firstDayOfWeek) { in getWeeksSinceEpochFromJulianDay() argument
1037 return (julianDay - refDay) / 7; in getWeeksSinceEpochFromJulianDay()
DRelativeDateTimeFormatter.java352 return julianDay(icuTimeZone, endTime) - julianDay(icuTimeZone, startTime); in dayDistance()
355 private static int julianDay(android.icu.util.TimeZone icuTimeZone, long time) { in julianDay() method in RelativeDateTimeFormatter
/frameworks/base/config/
Dhiddenapi-greylist-max-o.txt25417 Landroid/icu/impl/CalendarAstronomer;->julianDay:D