/libcore/ojluni/src/main/java/sun/util/calendar/ |
D | JulianCalendar.java | 106 CalendarUtils.sprintf0d(sb, getMonth(), 2).append('-'); in toString() 107 CalendarUtils.sprintf0d(sb, getDayOfMonth(), 2); in toString() 166 days += CalendarUtils.floorDivide(y - 1, 4); in getFixedDate() 171 days += CalendarUtils.floorDivide((367 * (long) month) - 362, 12); in getFixedDate() 174 days -= CalendarUtils.isJulianLeapYear(jyear) ? 1 : 2; in getFixedDate() 179 cache.setCache(jyear, days, CalendarUtils.isJulianLeapYear(jyear) ? 366 : 365); in getFixedDate() 192 year = (int) CalendarUtils.floorDivide(fd, 1461); in getCalendarDateFromFixedDate() 195 boolean isLeap = CalendarUtils.isJulianLeapYear(year); in getCalendarDateFromFixedDate() 203 month = CalendarUtils.floorDivide(month, 367); in getCalendarDateFromFixedDate() 220 int year = (int) CalendarUtils.floorDivide(4 * (fixedDate - JULIAN_EPOCH) + 1464, 1461); in getYearFromFixedDate() [all …]
|
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() 481 return (int)CalendarUtils.mod(fixedDate, 7) + SUNDAY; in getDayOfWeekFromFixedDate() 509 n400 = (int)CalendarUtils.floorDivide(d0, 146097L); in getGregorianYearFromFixedDate() 510 d1 = (int)CalendarUtils.mod(d0, 146097L); in getGregorianYearFromFixedDate() 511 n100 = CalendarUtils.floorDivide(d1, 36524); in getGregorianYearFromFixedDate() 512 d2 = CalendarUtils.mod(d1, 36524); in getGregorianYearFromFixedDate() [all …]
|
D | CalendarDate.java | 453 CalendarUtils.sprintf0d(sb, year, 4).append('-'); in toString() 454 CalendarUtils.sprintf0d(sb, month, 2).append('-'); in toString() 455 CalendarUtils.sprintf0d(sb, dayOfMonth, 2).append('T'); in toString() 456 CalendarUtils.sprintf0d(sb, hours, 2).append(':'); in toString() 457 CalendarUtils.sprintf0d(sb, minutes, 2).append(':'); in toString() 458 CalendarUtils.sprintf0d(sb, seconds, 2).append('.'); in toString() 459 CalendarUtils.sprintf0d(sb, millis, 3); in toString() 474 CalendarUtils.sprintf0d(sb, offset / 60, 2); in toString() 475 CalendarUtils.sprintf0d(sb, offset % 60, 2); in toString()
|
D | LocalGregorianCalendar.java | 113 CalendarUtils.sprintf0d(sb, getMonth(), 2).append('.'); in toString() 114 CalendarUtils.sprintf0d(sb, getDayOfMonth(), 2); in toString() 378 return CalendarUtils.isGregorianLeapYear(gregorianYear); in isLeapYear()
|
D | AbstractCalendar.java | 331 return fixedDate - CalendarUtils.mod(fd, 7); in getDayOfWeekDateOnOrBefore() 389 days = CalendarUtils.floorDivide(fraction, DAY_IN_MILLIS); in normalizeTime()
|
D | CalendarUtils.java | 31 public class CalendarUtils { class
|
/libcore/ojluni/src/main/java/java/util/ |
D | Date.java | 39 import sun.util.calendar.CalendarUtils; 250 y += CalendarUtils.floorDivide(month, 12); in Date() 251 month = CalendarUtils.mod(month, 12); in Date() 325 y += CalendarUtils.floorDivide(month, 12); in UTC() 326 month = CalendarUtils.mod(month, 12); in UTC() 732 y = CalendarUtils.floorDivide(month, 12); in setMonth() 733 month = CalendarUtils.mod(month, 12); in setMonth() 1059 CalendarUtils.sprintf0d(sb, date.getDayOfMonth(), 2).append(' '); // dd in toString() 1061 CalendarUtils.sprintf0d(sb, date.getHours(), 2).append(':'); // HH in toString() 1062 CalendarUtils.sprintf0d(sb, date.getMinutes(), 2).append(':'); // mm in toString() [all …]
|
D | GregorianCalendar.java | 51 import sun.util.calendar.CalendarUtils; 777 gregorianCutoverDate = CalendarUtils.floorDivide(cutoverTime, ONE_DAY) in setGregorianChange() 2526 if (CalendarUtils.isGregorianLeapYear(normalizedYear - 1)) { in computeFields() 2530 if (CalendarUtils.isJulianLeapYear(normalizedYear - 1)) { in computeFields() 2638 return CalendarUtils.floorDivide(normalizedDayOfPeriod, 7) + 1; in getWeekNumber() 3027 year += CalendarUtils.floorDivide(month, 12, rem); in getFixedDate()
|
D | SimpleTimeZone.java | 45 import sun.util.calendar.CalendarUtils; 628 y = (int) CalendarUtils.mod((long) y, 28); in getOffset()
|
D | JapaneseImperialCalendar.java | 34 import sun.util.calendar.CalendarUtils; 1838 return CalendarUtils.floorDivide(normalizedDayOfPeriod, 7) + 1; in getWeekNumber() 2008 year += CalendarUtils.floorDivide(month, 12, rem); in getFixedDate() 2199 return CalendarUtils.isGregorianLeapYear(gregorianYear) ? in monthLength()
|
/libcore/ojluni/annotations/hiddenapi/sun/util/calendar/ |
D | CalendarUtils.java | 29 public class CalendarUtils { class 31 public CalendarUtils() { in CalendarUtils() method in CalendarUtils
|
/libcore/ojluni/src/main/java/java/text/ |
D | SimpleDateFormat.java | 66 import sun.util.calendar.CalendarUtils; 1522 CalendarUtils.sprintf0d(buffer, value / 60, 2); in subFormat() 1530 CalendarUtils.sprintf0d(buffer, value % 60, 2); in subFormat()
|
/libcore/ |
D | openjdk_java_files.bp | 1766 "ojluni/src/main/java/sun/util/calendar/CalendarUtils.java",
|