| Package | Description | 
|---|---|
| java.time.chrono | 
 Generic API for calendar systems other than the default ISO. | 
| Modifier and Type | Field | Description | 
|---|---|---|
| static JapaneseEra | JapaneseEra. HEISEIThe singleton instance for the 'Heisei' era (1989-01-08 - 2019-04-30)
 which has the value 2. | |
| static JapaneseEra | JapaneseEra. MEIJIThe singleton instance for the 'Meiji' era (1868-01-01 - 1912-07-29)
 which has the value -1. | |
| static JapaneseEra | JapaneseEra. SHOWAThe singleton instance for the 'Showa' era (1926-12-25 - 1989-01-07)
 which has the value 1. | |
| static JapaneseEra | JapaneseEra. TAISHOThe 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()Gets the era applicable at this date. | |
| static JapaneseEra | JapaneseEra. of(int japaneseEra)Obtains an instance of  JapaneseErafrom anintvalue. | |
| static JapaneseEra | JapaneseEra. valueOf(String japaneseEra)Returns the  JapaneseErawith 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  JapaneseDaterepresenting a date in the Japanese calendar
 system from the era, year-of-era, month-of-year and day-of-month fields. | 
 Submit a bug or feature 
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, 2025, Oracle and/or its affiliates.  All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.