Generic API for calendar systems other than the default ISO.
-
The singleton instance for the 'Heisei' era (1989-01-08 - 2019-04-30)
which has the value 2.
The singleton instance for the 'Meiji' era (1868-01-01 - 1912-07-29)
which has the value -1.
The singleton instance for the 'Reiwa' era (2019-05-01 - )
which has the value 3.
The singleton instance for the 'Showa' era (1926-12-25 - 1989-01-07)
which has the value 1.
The singleton instance for the 'Taisho' era (1912-07-30 - 1926-12-24)
which has the value 0.
JapaneseChronology.eraOf(int eraValue)
Returns the calendar system era object from the given numeric value.
Gets the era applicable at this date.
JapaneseEra.of(int japaneseEra)
Obtains an instance of JapaneseEra
from an int
value.
Returns the JapaneseEra
with the name.
Returns an array of JapaneseEras.
JapaneseDate.of(JapaneseEra era,
int yearOfEra,
int month,
int dayOfMonth)
Obtains a JapaneseDate
representing a date in the Japanese calendar
system from the era, year-of-era, month-of-year and day-of-month fields.