| Package | Description |
|---|---|
| org.threeten.bp.chrono |
Support for calendar systems other than the default ISO.
|
| Modifier and Type | Field | Description |
|---|---|---|
static JapaneseEra |
JapaneseEra.HEISEI |
The singleton instance for the 'Heisei' era (1989-01-08 - current)
which has the value 2.
|
static JapaneseEra |
JapaneseEra.MEIJI |
The singleton instance for the 'Meiji' era (1868-09-08 - 1912-07-29)
which has the value -1.
|
static JapaneseEra |
JapaneseEra.SHOWA |
The singleton instance for the 'Showa' era (1926-12-25 - 1989-01-07)
which has the value 1.
|
static JapaneseEra |
JapaneseEra.TAISHO |
The singleton instance for the 'Taisho' era (1912-07-30 - 1926-12-24)
which has the value 0.
|
| Modifier and Type | Method | Description |
|---|---|---|
JapaneseEra |
JapaneseChronology.eraOf(int eraValue) |
Returns the calendar system era object from the given numeric value.
|
JapaneseEra |
JapaneseDate.getEra() |
|
static JapaneseEra |
JapaneseEra.of(int japaneseEra) |
Obtains an instance of
JapaneseEra from an int value. |
static JapaneseEra |
JapaneseEra.registerEra(LocalDate since,
java.lang.String name) |
Registers an additional instance of
JapaneseEra. |
static JapaneseEra |
JapaneseEra.valueOf(java.lang.String japaneseEra) |
Returns the
JapaneseEra with the name. |
static JapaneseEra[] |
JapaneseEra.values() |
Returns an array of JapaneseEras.
|
| Modifier and Type | Method | Description |
|---|---|---|
static JapaneseDate |
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. |
Copyright © 2007–2018 ThreeTen.org. All rights reserved.