Searched refs:cdate (Results 1 - 5 of 5) sorted by relevance

/openjdk7/jdk/src/share/classes/java/util/
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 DDate.java139 * If cdate is null, then fastTime indicates the time in millis.
140 * If cdate.isNormalized() is true, then fastTime and cdate are in
141 * synch. Otherwise, fastTime is ignored, and cdate indicates the
144 private transient BaseCalendar.Date cdate; field in class:Date
252 cdate = (BaseCalendar.Date) cal.newCalendarDate(TimeZone.getDefaultRef());
253 cdate.setNormalizedDate(y, month + 1, date).setTimeOfDay(hrs, min, sec, 0);
255 cdate = null;
282 if (cdate != null) {
283 d.cdate
1293 getCalendarSystem(BaseCalendar.Date cdate) argument
[all...]
H A DGregorianCalendar.java555 private transient BaseCalendar.Date cdate; field in class:GregorianCalendar
558 * The CalendarSystem used to calculate the date in cdate. After
560 * consistent with the cdate value.
1204 if (!isCutoverYear(cdate.getNormalizedYear())) {
1237 int y = cdate.getNormalizedYear();
1297 boolean isCutoverYear = isCutoverYear(cdate.getNormalizedYear());
1308 month1 = getFixedDateMonth1(cdate, fd);
1312 monthLength = calsys.getMonthLength(cdate);
1353 if (!isCutoverYear(cdate.getNormalizedYear())) {
1354 max = calsys.getMonthLength(cdate);
[all...]
/openjdk7/jdk/make/tools/src/build/tools/javazic/
H A DTime.java207 CalendarDate cdate = gcal.newCalendarDate(null);
211 cdate.setDate(year, monthValue, 1);
212 cdate.setDayOfMonth(gcal.getMonthLength(cdate));
213 cdate = gcal.getNthDayOfWeek(-1, day.getDayOfWeekNum(), cdate);
215 cdate.setDate(year, monthValue, day.getDay());
216 cdate = gcal.getNthDayOfWeek(1, day.getDayOfWeekNum(), cdate);
218 cdate
[all...]
/openjdk7/jdk/src/share/classes/sun/util/calendar/
H A DAbstractCalendar.java236 public CalendarDate setTimeOfDay(CalendarDate cdate, int fraction) { argument
240 boolean normalizedState = cdate.isNormalized();
248 cdate.setHours(hours);
249 cdate.setMinutes(minutes);
250 cdate.setSeconds(seconds);
251 cdate.setMillis(time);
252 cdate.setTimeOfDay(fraction);
256 cdate.setNormalized(normalizedState);
258 return cdate;

Completed in 57 milliseconds