Home
last modified time | relevance | path

Searched refs:floorDivide (Results 1 – 6 of 6) 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()
DBaseCalendar.java396 + CalendarUtils.floorDivide(prevyear, 4) in getFixedDate()
397 - CalendarUtils.floorDivide(prevyear, 100) in getFixedDate()
398 + CalendarUtils.floorDivide(prevyear, 400) in getFixedDate()
399 + CalendarUtils.floorDivide((367 * month - 362), 12); in getFixedDate()
452 month = CalendarUtils.floorDivide(month, 367); in getCalendarDateFromFixedDate()
510 n400 = (int)CalendarUtils.floorDivide(d0, 146097L); in getGregorianYearFromFixedDate()
512 n100 = CalendarUtils.floorDivide(d1, 36524); in getGregorianYearFromFixedDate()
514 n4 = CalendarUtils.floorDivide(d2, 1461); in getGregorianYearFromFixedDate()
516 n1 = CalendarUtils.floorDivide(d3, 365); in getGregorianYearFromFixedDate()
DAbstractCalendar.java370 days = CalendarUtils.floorDivide(fraction, DAY_IN_MILLIS); in normalizeTime()
/libcore/ojluni/src/main/java/java/util/
DDate.java248 y += CalendarUtils.floorDivide(month, 12); in Date()
323 y += CalendarUtils.floorDivide(month, 12); in UTC()
727 y = CalendarUtils.floorDivide(month, 12); in setMonth()
DGregorianCalendar.java757 gregorianCutoverDate = CalendarUtils.floorDivide(cutoverTime, ONE_DAY) in setGregorianChange()
2567 return CalendarUtils.floorDivide(normalizedDayOfPeriod, 7) + 1; in getWeekNumber()
2951 year += CalendarUtils.floorDivide(month, 12, rem); in getFixedDate()