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.java87 Gregorian gcal = CalendarSystem.getGregorianCalendar(); in Era() local
88 BaseCalendar.Date d = (BaseCalendar.Date) gcal.newCalendarDate(null); in Era()
89 gcal.getCalendarDate(since, d); in Era()
/libcore/ojluni/src/main/java/java/util/
DGregorianCalendar.java503 private static final Gregorian gcal = 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()
1332 cal = gcal; in roll()
1344 cal = (fd >= gregorianCutoverDate) ? gcal : getJulianCalendarSystem(); in roll()
1513 BaseCalendar cal = (fd >= gregorianCutoverDate) ? gcal : getJulianCalendarSystem(); in roll()
1766 nextJan1 = gcal.getFixedDate(++normalizedYear, BaseCalendar.JANUARY, 1, null); in getActualMaximum()
1812 long nextJan1 = gcal.getFixedDate(++normalizedYear, 1, 1, null); in getActualMaximum()
1966 gcal : getJulianCalendarSystem(); in getActualMaximum()
[all …]
DDate.java134 private static final BaseCalendar gcal = field in Date
613 defaultCenturyStart = gcal.getCalendarDate().getYear() - 80; in parse()
983 return gcal.getTime(d); in getMillisOf()
1297 return gcal; in getCalendarSystem()
1309 return gcal; in getCalendarSystem()
1316 return gcal; in getCalendarSystem()
1321 return gcal; in getCalendarSystem()
DJapaneseImperialCalendar.java128 private static final Gregorian gcal = CalendarSystem.getGregorianCalendar(); field in JapaneseImperialCalendar
242 sinceFixedDates[index] = gcal.getFixedDate(BEFORE_MEIJI_ERA.getSinceDate());
253 sinceFixedDates[index] = gcal.getFixedDate(d);
267 CalendarDate date = gcal.newCalendarDate(TimeZone.NO_TIMEZONE);
272 long fdd = gcal.getFixedDate(date);
277 fdd = gcal.getFixedDate(date);
780 if (gcal.getYearFromFixedDate(day1) != y) { in roll()
792 if (gcal.getYearFromFixedDate(fd) != y) { in roll()
1336 CalendarDate d = gcal.newCalendarDate(TimeZone.NO_TIMEZONE); in getActualMaximum()
1339 value = (int)(transition - gcal.getFixedDate(d)); in getActualMaximum()
[all …]
DSimpleTimeZone.java559 gcal : (BaseCalendar) CalendarSystem.forName("julian"); in getOffsets()
635 BaseCalendar cal = gcal; in getOffset()
1199 private static final Gregorian gcal = CalendarSystem.getGregorianCalendar(); field in SimpleTimeZone
DCalendar.java1486 GregorianCalendar gcal = new GregorianCalendar(zone, locale, true); in build() local
1488 gcal.setGregorianChange(new Date(Long.MIN_VALUE)); in build()
1491 cal = 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()