Uses of Interface java.time.chrono.Era (Java SE 22 & JDK 22)
Description: use: module: java.base, package: java.time.chrono, interface: Era

# Uses of Interface
java.time.chrono.Era

Packages that use Era
Package
Description
java.time.chrono
Generic API for calendar systems other than the default ISO.

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

  Classes in java.time.chrono that implement Era
  Modifier and Type
  Class
  Description
  `enum`
  `HijrahEra`
  An era in the Hijrah calendar system.
  `enum`
  `IsoEra`
  An era in the ISO calendar system.
  `final class`
  `JapaneseEra`
  An era in the Japanese Imperial calendar system.
  `enum`
  `MinguoEra`
  An era in the Minguo calendar system.
  `enum`
  `ThaiBuddhistEra`
  An era in the Thai Buddhist calendar system.
  Methods in java.time.chrono that return Era
  Modifier and Type
  Method
  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
  Description
  `List<Era>`
  Chronology.`eras()`
  Gets the list of eras for the chronology.
  `List<Era>`
  HijrahChronology.`eras()`
  `List<Era>`
  IsoChronology.`eras()`
  `List<Era>`
  JapaneseChronology.`eras()`
  `List<Era>`
  MinguoChronology.`eras()`
  `List<Era>`
  ThaiBuddhistChronology.`eras()`
  Methods in java.time.chrono with parameters of type Era
  Modifier and Type
  Method
  Description
  `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.
  `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.
  `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.
  `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.
  `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.
  `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.
  `default long`
  Chronology.`epochSecond(Era era, int yearOfEra, int month, int dayOfMonth, int hour, int minute, int second, ZoneOffset zoneOffset)`
  Gets the number of seconds from the epoch of 1970-01-01T00:00:00Z.
  `int`
  Chronology.`prolepticYear(Era era, int yearOfEra)`
  Calculates the proleptic-year given the era and year-of-era.
  `int`
  HijrahChronology.`prolepticYear(Era era, int yearOfEra)`
  `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)`