Home
last modified time | relevance | path

Searched refs:gdate (Results 1 – 2 of 2) sorted by relevance

/libcore/ojluni/src/main/java/sun/util/calendar/
DBaseCalendar.java322 Date gdate = (Date) date; in getMonthLength() local
323 int month = gdate.getMonth(); in getMonthLength()
327 return getMonthLength(gdate.getNormalizedYear(), month); in getMonthLength()
420 Date gdate = (Date) date; in getCalendarDateFromFixedDate() local
424 if (gdate.hit(fixedDate)) { in getCalendarDateFromFixedDate()
425 year = gdate.getCachedYear(); in getCalendarDateFromFixedDate()
426 jan1 = gdate.getCachedJan1(); in getCalendarDateFromFixedDate()
436 gdate.setCache (year, jan1, isLeap ? 366 : 365); in getCalendarDateFromFixedDate()
460 gdate.setNormalizedYear(year); in getCalendarDateFromFixedDate()
461 gdate.setMonth(month); in getCalendarDateFromFixedDate()
[all …]
/libcore/ojluni/src/main/java/java/util/
DGregorianCalendar.java553 private transient BaseCalendar.Date gdate; field in GregorianCalendar
627 gdate = (BaseCalendar.Date) gcal.newCalendarDate(zone); in GregorianCalendar()
701 gdate = (BaseCalendar.Date) gcal.newCalendarDate(getZone()); in GregorianCalendar()
739 gdate = (BaseCalendar.Date) gcal.newCalendarDate(getZone()); in GregorianCalendar()
2014 other.gdate = (BaseCalendar.Date) gdate.clone(); in clone()
2016 if (cdate != gdate) { in clone()
2019 other.cdate = other.gdate; in clone()
2031 gdate.setZone(zone); in getTimeZone()
2032 if (cdate != null && cdate != gdate) { in getTimeZone()
2042 gdate.setZone(zone); in setTimeZone()
[all …]