Searched refs:julianDay (Results 1 – 2 of 2) sorted by relevance
543 int julianDay = Time.getJulianDay(millis, time.gmtoff); in disableTestGetJulianDay() local552 if (day != julianDay) { in disableTestGetJulianDay()555 + " != today's Julian day: " + julianDay in disableTestGetJulianDay()558 assertEquals(day, julianDay); in disableTestGetJulianDay()582 int julianDay = Time.getJulianDay(millis, time.gmtoff); in disableTestSetJulianDay() local584 time.setJulianDay(julianDay); in disableTestSetJulianDay()598 if (day != julianDay) { in disableTestSetJulianDay()600 + " day " + julianDay in disableTestSetJulianDay()604 assertEquals(day, julianDay); in disableTestSetJulianDay()
754 long julianDay = (millis + offsetMillis) / DateUtils.DAY_IN_MILLIS; in getJulianDay() local755 return (int) julianDay + EPOCH_JULIAN_DAY; in getJulianDay()778 public long setJulianDay(int julianDay) { in setJulianDay() argument782 long millis = (julianDay - EPOCH_JULIAN_DAY) * DateUtils.DAY_IN_MILLIS; in setJulianDay()788 int diff = julianDay - approximateDay; in setJulianDay()811 public static int getWeeksSinceEpochFromJulianDay(int julianDay, int firstDayOfWeek) { in getWeeksSinceEpochFromJulianDay() argument817 return (julianDay - refDay) / 7; in getWeeksSinceEpochFromJulianDay()