Home
last modified time | relevance | path

Searched refs:gcal (Results 1 – 7 of 7) sorted by relevance

/libcore/ojluni/src/main/java/sun/util/calendar/
DEra.java82 Gregorian gcal = CalendarSystem.getGregorianCalendar(); in Era() local
83 BaseCalendar.Date d = (BaseCalendar.Date) gcal.newCalendarDate(null); in Era()
84 gcal.getCalendarDate(since, d); in Era()
/libcore/ojluni/src/main/java/java/util/
DGregorianCalendar.java504 private static final Gregorian gcal = field in GregorianCalendar
628 gdate = (BaseCalendar.Date) gcal.newCalendarDate(zone); in GregorianCalendar()
702 gdate = (BaseCalendar.Date) gcal.newCalendarDate(getZone()); in GregorianCalendar()
740 gdate = (BaseCalendar.Date) gcal.newCalendarDate(getZone()); in GregorianCalendar()
1329 cal = gcal; in roll()
1341 cal = (fd >= gregorianCutoverDate) ? gcal : getJulianCalendarSystem(); in roll()
1510 BaseCalendar cal = (fd >= gregorianCutoverDate) ? gcal : getJulianCalendarSystem(); in roll()
1748 nextJan1 = gcal.getFixedDate(++normalizedYear, BaseCalendar.JANUARY, 1, null); in getActualMaximum()
1788 long nextJan1 = gcal.getFixedDate(++normalizedYear, 1, 1, null); in getActualMaximum()
1930 gcal : getJulianCalendarSystem(); in getActualMaximum()
[all …]
DDate.java136 private static final BaseCalendar gcal = field in Date
613 defaultCenturyStart = gcal.getCalendarDate().getYear() - 80; in parse()
985 return gcal.getTime(d); in getMillisOf()
1299 return gcal; in getCalendarSystem()
1311 return gcal; in getCalendarSystem()
1318 return gcal; in getCalendarSystem()
1323 return gcal; in getCalendarSystem()
DJapaneseImperialCalendar.java125 private static final Gregorian gcal = CalendarSystem.getGregorianCalendar(); field in JapaneseImperialCalendar
241 sinceFixedDates[index] = gcal.getFixedDate(BEFORE_MEIJI_ERA.getSinceDate());
252 sinceFixedDates[index] = gcal.getFixedDate(d);
266 CalendarDate date = gcal.newCalendarDate(TimeZone.NO_TIMEZONE);
271 long fdd = gcal.getFixedDate(date);
276 fdd = gcal.getFixedDate(date);
784 if (gcal.getYearFromFixedDate(day1) != y) { in roll()
796 if (gcal.getYearFromFixedDate(fd) != y) { in roll()
1322 CalendarDate d = gcal.newCalendarDate(TimeZone.NO_TIMEZONE);
1325 yield (int) (transition - gcal.getFixedDate(d));
[all …]
DSimpleTimeZone.java559 gcal : (BaseCalendar) CalendarSystem.forName("julian"); in getOffsets()
635 BaseCalendar cal = gcal; in getOffset()
1177 private static final Gregorian gcal = CalendarSystem.getGregorianCalendar(); field in SimpleTimeZone
DCalendar.java1497 GregorianCalendar gcal = new GregorianCalendar(zone, locale, true); in build()
1499 gcal.setGregorianChange(new Date(Long.MIN_VALUE)); in build()
1502 yield gcal; in build()
/libcore/ojluni/src/main/java/sun/security/util/
DDerInputBuffer.java403 CalendarSystem gcal = CalendarSystem.getGregorianCalendar(); in getTime() local
404 CalendarDate date = gcal.newCalendarDate(null); // no time zone in getTime()
407 long time = gcal.getTime(date); in getTime()