Searched defs:cdate (Results 1 - 4 of 4) sorted by relevance

/libcore/ojluni/src/main/java/sun/util/calendar/
H A DAbstractCalendar.java241 public CalendarDate setTimeOfDay(CalendarDate cdate, int fraction) { argument
245 boolean normalizedState = cdate.isNormalized();
253 cdate.setHours(hours);
254 cdate.setMinutes(minutes);
255 cdate.setSeconds(seconds);
256 cdate.setMillis(time);
257 cdate.setTimeOfDay(fraction);
261 cdate.setNormalized(normalizedState);
263 return cdate;
/libcore/ojluni/src/main/java/java/util/
H A DDate.java141 * If cdate is null, then fastTime indicates the time in millis.
142 * If cdate.isNormalized() is true, then fastTime and cdate are in
143 * synch. Otherwise, fastTime is ignored, and cdate indicates the
146 private transient BaseCalendar.Date cdate; field in class:Date
254 cdate = (BaseCalendar.Date) cal.newCalendarDate(TimeZone.getDefaultRef());
255 cdate.setNormalizedDate(y, month + 1, date).setTimeOfDay(hrs, min, sec, 0);
257 cdate = null;
284 if (cdate != null) {
285 d.cdate
1314 getCalendarSystem(BaseCalendar.Date cdate) argument
[all...]
H A DSimpleTimeZone.java560 BaseCalendar.Date cdate = (BaseCalendar.Date) cal.newCalendarDate(TimeZone.NO_TIMEZONE);
562 cal.getCalendarDate(date + rawOffset, cdate);
563 int year = cdate.getNormalizedYear();
566 cdate.setTimeOfDay(0, 0, 0, 0);
567 offset = getOffset(cal, cdate, year, date);
636 BaseCalendar.Date cdate = (BaseCalendar.Date) cal.newCalendarDate(TimeZone.NO_TIMEZONE);
637 cdate.setDate(y, m, day);
638 long time = cal.getTime(cdate); // normalize cdate
649 cdate
672 getOffset(BaseCalendar cal, BaseCalendar.Date cdate, int year, long time) argument
724 getStart(BaseCalendar cal, BaseCalendar.Date cdate, int year) argument
733 getEnd(BaseCalendar cal, BaseCalendar.Date cdate, int year) argument
745 getTransition(BaseCalendar cal, BaseCalendar.Date cdate, int mode, int year, int month, int dayOfMonth, int dayOfWeek, int timeOfDay) argument
[all...]
H A DGregorianCalendar.java560 private transient BaseCalendar.Date cdate; field in class:GregorianCalendar
563 * The CalendarSystem used to calculate the date in cdate. After
565 * consistent with the cdate value.
1247 if (!isCutoverYear(cdate.getNormalizedYear())) {
1280 int y = cdate.getNormalizedYear();
1359 boolean isCutoverYear = isCutoverYear(cdate.getNormalizedYear());
1370 month1 = getFixedDateMonth1(cdate, fd);
1374 monthLength = calsys.getMonthLength(cdate);
1415 if (!isCutoverYear(cdate.getNormalizedYear())) {
1416 max = calsys.getMonthLength(cdate);
[all...]

Completed in 70 milliseconds