Searched refs:julianDay (Results 1 – 4 of 4) 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()
111 public static int getWeeksSinceEpochFromJulianDay(int julianDay, int firstDayOfWeek) { in getWeeksSinceEpochFromJulianDay() argument117 return (julianDay - refDay) / 7; in getWeeksSinceEpochFromJulianDay()
948 long julianDay = (millis + offsetMillis) / DateUtils.DAY_IN_MILLIS; in getJulianDay() local949 return (int) julianDay + EPOCH_JULIAN_DAY; in getJulianDay()972 public long setJulianDay(int julianDay) { in setJulianDay() argument976 long millis = (julianDay - EPOCH_JULIAN_DAY) * DateUtils.DAY_IN_MILLIS; in setJulianDay()982 int diff = julianDay - approximateDay; in setJulianDay()1005 public static int getWeeksSinceEpochFromJulianDay(int julianDay, int firstDayOfWeek) { in getWeeksSinceEpochFromJulianDay() argument1011 return (julianDay - refDay) / 7; in getWeeksSinceEpochFromJulianDay()
87 public synchronized void setJulianDay(int julianDay) { in setJulianDay() argument91 time.setJulianDay(julianDay); in setJulianDay()