/libcore/ojluni/src/main/java/sun/util/calendar/ |
D | CalendarUtils.java | 70 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()
|
D | BaseCalendar.java | 395 + CalendarUtils.floorDivide(prevyear, 4) in getFixedDate() 396 - CalendarUtils.floorDivide(prevyear, 100) in getFixedDate() 397 + CalendarUtils.floorDivide(prevyear, 400) in getFixedDate() 398 + CalendarUtils.floorDivide((367 * month - 362), 12); in getFixedDate() 451 month = CalendarUtils.floorDivide(month, 367); in getCalendarDateFromFixedDate() 509 n400 = (int)CalendarUtils.floorDivide(d0, 146097L); in getGregorianYearFromFixedDate() 511 n100 = CalendarUtils.floorDivide(d1, 36524); in getGregorianYearFromFixedDate() 513 n4 = CalendarUtils.floorDivide(d2, 1461); in getGregorianYearFromFixedDate() 515 n1 = CalendarUtils.floorDivide(d3, 365); in getGregorianYearFromFixedDate()
|
D | JulianCalendar.java | 166 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()
|
D | AbstractCalendar.java | 389 days = CalendarUtils.floorDivide(fraction, DAY_IN_MILLIS); in normalizeTime()
|
/libcore/ojluni/annotations/hiddenapi/sun/util/calendar/ |
D | CalendarUtils.java | 44 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/ |
D | Date.java | 250 y += CalendarUtils.floorDivide(month, 12); in Date() 325 y += CalendarUtils.floorDivide(month, 12); in UTC() 732 y = CalendarUtils.floorDivide(month, 12); in setMonth()
|
D | GregorianCalendar.java | 777 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()
|
D | JapaneseImperialCalendar.java | 1838 return CalendarUtils.floorDivide(normalizedDayOfPeriod, 7) + 1; in getWeekNumber() 2008 year += CalendarUtils.floorDivide(month, 12, rem); in getFixedDate()
|