The class
Era
represents a calendar era that defines a period of time in which the same year numbering is used. For example, Gregorian year 2004 is
Heisei 16 in the Japanese calendar system. An era starts at any point of time (Gregorian) that is represented by
CalendarDate
.
Era
s that are applicable to a particular calendar system can be obtained by calling {@link CalendarSystem#getEras}one of which can be used to specify a date in CalendarDate
.
The following era names are defined in this release.
Calendar system Era name Since (in Gregorian) ----------------------------------------------------------------------- Japanese calendar Meiji 1868-01-01 midnight local time Taisho 1912-07-30 midnight local time Showa 1926-12-26 midnight local time Heisei 1989-01-08 midnight local time Julian calendar BeforeCommonEra -292275055-05-16T16:47:04.192Z CommonEra 0000-12-30 midnight local time Taiwanese calendar MinGuo 1911-01-01 midnight local time Thai Buddhist calendar BuddhistEra -543-01-01 midnight local time -----------------------------------------------------------------------
@author Masayoshi Okutsu
@since 1.5