Home
last modified time | relevance | path

Searched refs:jcal (Results 1 – 5 of 5) sorted by relevance

/libcore/ojluni/src/main/java/java/util/
DJapaneseImperialCalendar.java123 private static final LocalGregorianCalendar jcal field in JapaneseImperialCalendar
232 Era[] es = jcal.getEras();
324 jdate = jcal.newCalendarDate(zone); in JapaneseImperialCalendar()
337 jdate = jcal.newCalendarDate(zone); in JapaneseImperialCalendar()
601 CalendarDate d = jcal.getCalendarDate(time, getZone()); in roll()
611 time = jcal.getTime(d); in roll()
644 CalendarDate jd = jcal.getCalendarDate(time, getZone()); in roll()
645 CalendarDate d = jcal.getCalendarDate(Long.MAX_VALUE, getZone()); in roll()
654 jcal.normalize(jd); in roll()
660 jcal.normalize(jd); in roll()
[all …]
DDate.java136 private static BaseCalendar jcal; field in Date
1315 if (jcal == null) { in getCalendarSystem()
1319 return jcal; in getCalendarSystem()
1325 if (jcal == null) { in getJulianCalendar()
1326 jcal = (BaseCalendar) CalendarSystem.forName("julian"); in getJulianCalendar()
1328 return jcal; in getJulianCalendar()
DGregorianCalendar.java508 private static JulianCalendar jcal; field in GregorianCalendar
2426 cdate = (BaseCalendar.Date) jcal.newCalendarDate(getZone()); in computeFields()
2427 jcal.getCalendarDateFromFixedDate(cdate, fixedDate); in computeFields()
2539 if (calForJan1 == jcal) { in computeFields()
3156 if (jcal == null) { in getJulianCalendarSystem()
3157 jcal = (JulianCalendar) CalendarSystem.forName("julian"); in getJulianCalendarSystem()
3158 jeras = jcal.getEras(); in getJulianCalendarSystem()
3160 return jcal; in getJulianCalendarSystem()
3237 fixedDateMonth1 = jcal.getFixedDate(date.getNormalizedYear(), in getFixedDateMonth1()
/libcore/ojluni/src/main/java/java/time/chrono/
DJapaneseDate.java392 Calendar jcal = JapaneseChronology.createCalendar(); in lengthOfYear() local
393 jcal.set(Calendar.ERA, era.getValue() + JapaneseEra.ERA_OFFSET); in lengthOfYear()
394 jcal.set(yearOfEra, isoDate.getMonthValue() - 1, isoDate.getDayOfMonth()); in lengthOfYear()
395 return jcal.getActualMaximum(Calendar.DAY_OF_YEAR); in lengthOfYear()
452 Calendar jcal = JapaneseChronology.createCalendar(); in range() local
453 jcal.set(Calendar.ERA, era.getValue() + JapaneseEra.ERA_OFFSET); in range()
454 jcal.set(yearOfEra, isoDate.getMonthValue() - 1, isoDate.getDayOfMonth()); in range()
455 return ValueRange.of(1, jcal.getActualMaximum(Calendar.YEAR)); in range()
485 Calendar jcal = JapaneseChronology.createCalendar(); in getLong() local
486 jcal.set(Calendar.ERA, era.getValue() + JapaneseEra.ERA_OFFSET); in getLong()
[all …]
DJapaneseChronology.java409 Calendar jcal = createCalendar(); in range() local
411 return ValueRange.of(1, jcal.getGreatestMinimum(Calendar.YEAR), in range()
412jcal.getLeastMaximum(Calendar.YEAR) + 1, // +1 due to the different definitions in range()
417 Calendar jcal = createCalendar(); in range() local
419 … return ValueRange.of(jcal.getMinimum(fieldIndex), jcal.getGreatestMinimum(fieldIndex), in range()
420 jcal.getLeastMaximum(fieldIndex), jcal.getMaximum(fieldIndex)); in range()