Home
last modified time | relevance | path

Searched refs:floorDivide (Results 1 – 7 of 7) sorted by relevance

/libcore/ojluni/src/main/java/sun/util/calendar/
DCalendarUtils.java70 public static final long floorDivide(long n, long d) { in floorDivide() method in CalendarUtils
84 public static final int floorDivide(int n, int d) { in floorDivide() method in CalendarUtils
102 public static final int floorDivide(int n, int d, int[] r) { in floorDivide() method in CalendarUtils
125 public static final int floorDivide(long n, int d, int[] r) { in floorDivide() method in CalendarUtils
136 return (x - y * floorDivide(x, y)); in mod()
140 return (x - y * floorDivide(x, y)); in mod()
DJulianCalendar.java166 days += CalendarUtils.floorDivide(y - 1, 4); in getFixedDate()
171 days += CalendarUtils.floorDivide((367 * (long) month) - 362, 12); in getFixedDate()
192 year = (int) CalendarUtils.floorDivide(fd, 1461); in getCalendarDateFromFixedDate()
203 month = CalendarUtils.floorDivide(month, 367); in getCalendarDateFromFixedDate()
220 int year = (int) CalendarUtils.floorDivide(4 * (fixedDate - JULIAN_EPOCH) + 1464, 1461); in getYearFromFixedDate()
DAbstractCalendar.java389 days = CalendarUtils.floorDivide(fraction, DAY_IN_MILLIS); in normalizeTime()
/libcore/ojluni/annotations/hiddenapi/sun/util/calendar/
DCalendarUtils.java44 public static final long floorDivide(long n, long d) { in floorDivide() method in CalendarUtils
49 public static final int floorDivide(int n, int d) { in floorDivide() method in CalendarUtils
53 public static final int floorDivide(int n, int d, int[] r) { in floorDivide() method in CalendarUtils
57 public static final int floorDivide(long n, int d, int[] r) { in floorDivide() method in CalendarUtils
/libcore/ojluni/src/main/java/java/util/
DDate.java250 y += CalendarUtils.floorDivide(month, 12); in Date()
325 y += CalendarUtils.floorDivide(month, 12); in UTC()
732 y = CalendarUtils.floorDivide(month, 12); in setMonth()
DGregorianCalendar.java777 gregorianCutoverDate = CalendarUtils.floorDivide(cutoverTime, ONE_DAY) in setGregorianChange()
2638 return CalendarUtils.floorDivide(normalizedDayOfPeriod, 7) + 1; in getWeekNumber()
3027 year += CalendarUtils.floorDivide(month, 12, rem); in getFixedDate()
DJapaneseImperialCalendar.java1839 return CalendarUtils.floorDivide(normalizedDayOfPeriod, 7) + 1; in getWeekNumber()
2009 year += CalendarUtils.floorDivide(month, 12, rem); in getFixedDate()