## Uses of Interface
java.time.chrono.Era

- Packages that use Era
  Package | Description
  --- | ---
  java.time | The main API for dates, times, instants, and durations.
  java.time.chrono | Generic API for calendar systems other than the default ISO.

- - ### Uses of Era in java.time

    Methods in java.time that return Era
    Modifier and Type | Method and Description
    --- | ---
    `Era` | LocalDate.`getEra()` Gets the era applicable at this date.

  - ### Uses of Era in java.time.chrono

    Classes in java.time.chrono that implement Era
    Modifier and Type | Class and Description
    --- | ---
    `class` | `HijrahEra` An era in the Hijrah calendar system.
    `class` | `IsoEra` An era in the ISO calendar system.
    `class` | `JapaneseEra` An era in the Japanese Imperial calendar system.
    `class` | `MinguoEra` An era in the Minguo calendar system.
    `class` | `ThaiBuddhistEra` An era in the Thai Buddhist calendar system.

    Methods in java.time.chrono that return Era
    Modifier and Type | Method and Description
    --- | ---
    `Era` | Chronology.`eraOf(int eraValue)` Creates the chronology era object from the numeric value.
    `default Era` | ChronoLocalDate.`getEra()` Gets the era, as defined by the chronology.

    Methods in java.time.chrono that return types with arguments of type Era
    Modifier and Type | Method and Description
    --- | ---
    `List<Era>` | IsoChronology.`eras()`
    `List<Era>` | JapaneseChronology.`eras()`
    `List<Era>` | MinguoChronology.`eras()`
    `List<Era>` | ThaiBuddhistChronology.`eras()`
    `List<Era>` | HijrahChronology.`eras()`
    `List<Era>` | Chronology.`eras()` Gets the list of eras for the chronology.

    Methods in java.time.chrono with parameters of type Era
    Modifier and Type | Method and Description
    --- | ---
    `LocalDate` | IsoChronology.`date(Era era, int yearOfEra, int month, int dayOfMonth)` Obtains an ISO local date from the era, year-of-era, month-of-year and day-of-month fields.
    `JapaneseDate` | JapaneseChronology.`date(Era era, int yearOfEra, int month, int dayOfMonth)` Obtains a local date in Japanese calendar system from the era, year-of-era, month-of-year and day-of-month fields.
    `MinguoDate` | MinguoChronology.`date(Era era, int yearOfEra, int month, int dayOfMonth)` Obtains a local date in Minguo calendar system from the era, year-of-era, month-of-year and day-of-month fields.
    `ThaiBuddhistDate` | ThaiBuddhistChronology.`date(Era era, int yearOfEra, int month, int dayOfMonth)` Obtains a local date in Thai Buddhist calendar system from the era, year-of-era, month-of-year and day-of-month fields.
    `HijrahDate` | HijrahChronology.`date(Era era, int yearOfEra, int month, int dayOfMonth)` Obtains a local date in Hijrah calendar system from the era, year-of-era, month-of-year and day-of-month fields.
    `default ChronoLocalDate` | Chronology.`date(Era era, int yearOfEra, int month, int dayOfMonth)` Obtains a local date in this chronology from the era, year-of-era, month-of-year and day-of-month fields.
    `LocalDate` | IsoChronology.`dateYearDay(Era era, int yearOfEra, int dayOfYear)` Obtains an ISO local date from the era, year-of-era and day-of-year fields.
    `JapaneseDate` | JapaneseChronology.`dateYearDay(Era era, int yearOfEra, int dayOfYear)` Obtains a local date in Japanese calendar system from the era, year-of-era and day-of-year fields.
    `MinguoDate` | MinguoChronology.`dateYearDay(Era era, int yearOfEra, int dayOfYear)` Obtains a local date in Minguo calendar system from the era, year-of-era and day-of-year fields.
    `ThaiBuddhistDate` | ThaiBuddhistChronology.`dateYearDay(Era era, int yearOfEra, int dayOfYear)` Obtains a local date in Thai Buddhist calendar system from the era, year-of-era and day-of-year fields.
    `HijrahDate` | HijrahChronology.`dateYearDay(Era era, int yearOfEra, int dayOfYear)` Obtains a local date in Hijrah calendar system from the era, year-of-era and day-of-year fields.
    `default ChronoLocalDate` | Chronology.`dateYearDay(Era era, int yearOfEra, int dayOfYear)` Obtains a local date in this chronology from the era, year-of-era and day-of-year fields.
    `int` | IsoChronology.`prolepticYear(Era era, int yearOfEra)`
    `int` | JapaneseChronology.`prolepticYear(Era era, int yearOfEra)`
    `int` | MinguoChronology.`prolepticYear(Era era, int yearOfEra)`
    `int` | ThaiBuddhistChronology.`prolepticYear(Era era, int yearOfEra)`
    `int` | HijrahChronology.`prolepticYear(Era era, int yearOfEra)`
    `int` | Chronology.`prolepticYear(Era era, int yearOfEra)` Calculates the proleptic-year given the era and year-of-era.

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, 2018, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.