Home
last modified time | relevance | path

Searched refs:julianDay (Results 1 – 5 of 5) 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/opt/datetimepicker/src/com/android/datetimepicker/
DUtils.java114 public static int getWeeksSinceEpochFromJulianDay(int julianDay, int firstDayOfWeek) { in getWeeksSinceEpochFromJulianDay() argument
120 return (julianDay - refDay) / 7; in getWeeksSinceEpochFromJulianDay()
/frameworks/base/core/java/android/text/format/
DTime.java975 long julianDay = (millis + offsetMillis) / DateUtils.DAY_IN_MILLIS; in getJulianDay() local
976 return (int) julianDay + EPOCH_JULIAN_DAY; in getJulianDay()
999 public long setJulianDay(int julianDay) { in setJulianDay() argument
1003 long millis = (julianDay - EPOCH_JULIAN_DAY) * DateUtils.DAY_IN_MILLIS; in setJulianDay()
1009 int diff = julianDay - approximateDay; in setJulianDay()
1032 public static int getWeeksSinceEpochFromJulianDay(int julianDay, int firstDayOfWeek) { in getWeeksSinceEpochFromJulianDay() argument
1038 return (julianDay - refDay) / 7; in getWeeksSinceEpochFromJulianDay()
/frameworks/opt/datetimepicker/src/com/android/datetimepicker/date/
DMonthAdapter.java87 public synchronized void setJulianDay(int julianDay) { in setJulianDay() argument
91 time.setJulianDay(julianDay); in setJulianDay()
/frameworks/base/config/
Dhiddenapi-greylist-max-o.txt27199 Landroid/icu/impl/CalendarAstronomer;->julianDay:D