Spec-Zone .ru
спецификации, руководства, описания, API
|
Package | Description |
---|---|
java.time.chrono |
Generic API for calendar systems other than the default ISO.
|
Modifier and Type | Field and 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.SEIREKI
The singleton instance for the before Meiji era ( - 1868-09-07)
which has the value -999.
|
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 and Description |
---|---|
JapaneseEra |
JapaneseDate.getEra()
Gets the era applicable at this date.
|
static JapaneseEra |
JapaneseEra.of(int japaneseEra)
Obtains an instance of
JapaneseEra from an int value. |
static JapaneseEra |
JapaneseEra.valueOf(String japaneseEra)
Returns the
JapaneseEra with the name. |
static JapaneseEra[] |
JapaneseEra.values()
Returns an array of JapaneseEras.
|
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2013, Oracle and/or its affiliates. All rights reserved.
DRAFT ea-b92