Home
last modified time | relevance | path

Searched refs:floorDivide (Results 1 – 8 of 8) 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()
DBaseCalendar.java399 + CalendarUtils.floorDivide(prevyear, 4) in getFixedDate()
400 - CalendarUtils.floorDivide(prevyear, 100) in getFixedDate()
401 + CalendarUtils.floorDivide(prevyear, 400) in getFixedDate()
402 + CalendarUtils.floorDivide((367 * month - 362), 12); in getFixedDate()
455 month = CalendarUtils.floorDivide(month, 367); in getCalendarDateFromFixedDate()
513 n400 = (int)CalendarUtils.floorDivide(d0, 146097L); in getGregorianYearFromFixedDate()
515 n100 = CalendarUtils.floorDivide(d1, 36524); in getGregorianYearFromFixedDate()
517 n4 = CalendarUtils.floorDivide(d2, 1461); in getGregorianYearFromFixedDate()
519 n1 = CalendarUtils.floorDivide(d3, 365); in getGregorianYearFromFixedDate()
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.java251 y += CalendarUtils.floorDivide(month, 12); in Date()
325 y += CalendarUtils.floorDivide(month, 12); in UTC()
732 y = CalendarUtils.floorDivide(month, 12); in setMonth()
DGregorianCalendar.java778 gregorianCutoverDate = CalendarUtils.floorDivide(cutoverTime, ONE_DAY) in setGregorianChange()
2599 return CalendarUtils.floorDivide(normalizedDayOfPeriod, 7) + 1; in getWeekNumber()
2988 year += CalendarUtils.floorDivide(month, 12, rem); in getFixedDate()
DJapaneseImperialCalendar.java1804 return CalendarUtils.floorDivide(normalizedDayOfPeriod, 7) + 1;
1974 year += CalendarUtils.floorDivide(month, 12, rem);