Searched refs:cdate (Results 1 – 5 of 5) sorted by relevance
/libcore/ojluni/src/main/java/java/util/ |
D | SimpleTimeZone.java | 560 BaseCalendar.Date cdate = (BaseCalendar.Date) cal.newCalendarDate(TimeZone.NO_TIMEZONE); in getOffsets() local 562 cal.getCalendarDate(date + rawOffset, cdate); in getOffsets() 563 int year = cdate.getNormalizedYear(); in getOffsets() 566 cdate.setTimeOfDay(0, 0, 0, 0); in getOffsets() 567 offset = getOffset(cal, cdate, year, date); in getOffsets() 636 BaseCalendar.Date cdate = (BaseCalendar.Date) cal.newCalendarDate(TimeZone.NO_TIMEZONE); in getOffset() local 637 cdate.setDate(y, m, day); in getOffset() 638 long time = cal.getTime(cdate); // normalize cdate in getOffset() 649 cdate = (BaseCalendar.Date) cal.newCalendarDate(TimeZone.NO_TIMEZONE); in getOffset() 650 cdate.setNormalizedDate(y, m, day); in getOffset() [all …]
|
D | Date.java | 146 private transient BaseCalendar.Date cdate; field in Date 254 cdate = (BaseCalendar.Date) cal.newCalendarDate(TimeZone.getDefaultRef()); in Date() 255 cdate.setNormalizedDate(y, month + 1, date).setTimeOfDay(hrs, min, sec, 0); in Date() 257 cdate = null; in Date() 284 if (cdate != null) { in clone() 285 d.cdate = (BaseCalendar.Date) cdate.clone(); in clone() 910 if (cdate != null && !cdate.isNormalized()) { in getTimeImpl() 924 cdate = null; in setTime() 979 if (date.cdate == null || date.cdate.isNormalized()) { in getMillisOf() 982 BaseCalendar.Date d = (BaseCalendar.Date) date.cdate.clone(); in getMillisOf() [all …]
|
D | GregorianCalendar.java | 560 private transient BaseCalendar.Date cdate; field in GregorianCalendar 1247 if (!isCutoverYear(cdate.getNormalizedYear())) { in roll() 1280 int y = cdate.getNormalizedYear(); in roll() 1359 boolean isCutoverYear = isCutoverYear(cdate.getNormalizedYear()); in roll() 1370 month1 = getFixedDateMonth1(cdate, fd); in roll() 1374 monthLength = calsys.getMonthLength(cdate); in roll() 1415 if (!isCutoverYear(cdate.getNormalizedYear())) { in roll() 1416 max = calsys.getMonthLength(cdate); in roll() 1422 long month1 = getFixedDateMonth1(cdate, fd); in roll() 1436 if (!isCutoverYear(cdate.getNormalizedYear())) { in roll() [all …]
|
/libcore/ojluni/src/main/java/sun/util/calendar/ |
D | AbstractCalendar.java | 243 public CalendarDate setTimeOfDay(CalendarDate cdate, int fraction) { in setTimeOfDay() argument 247 boolean normalizedState = cdate.isNormalized(); in setTimeOfDay() 255 cdate.setHours(hours); in setTimeOfDay() 256 cdate.setMinutes(minutes); in setTimeOfDay() 257 cdate.setSeconds(seconds); in setTimeOfDay() 258 cdate.setMillis(time); in setTimeOfDay() 259 cdate.setTimeOfDay(fraction); in setTimeOfDay() 263 cdate.setNormalized(normalizedState); in setTimeOfDay() 265 return cdate; in setTimeOfDay()
|
/libcore/ojluni/annotations/hiddenapi/sun/util/calendar/ |
D | AbstractCalendar.java | 84 sun.util.calendar.CalendarDate cdate, int fraction) { in setTimeOfDay() argument
|