| 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.
|
| Modifier and Type | Method and Description |
|---|---|
Era |
LocalDate.getEra()
Gets the era applicable at this date.
|
| 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.
|
| 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.
|
| Modifier and Type | Method and Description |
|---|---|
List |
HijrahChronology.eras()
|
List |
ThaiBuddhistChronology.eras()
|
List |
Chronology.eras()
Gets the list of eras for the chronology.
|
List |
IsoChronology.eras()
|
List |
MinguoChronology.eras()
|
List |
JapaneseChronology.eras()
|
| Modifier and Type | Method and Description |
|---|---|
HijrahDate |
HijrahChronology.date(Era
Obtains a local date in Hijrah calendar system from the era, year-of-era, month-of-year and day-of-month fields.
|
ThaiBuddhistDate |
ThaiBuddhistChronology.date(Era
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.date(Era
Obtains a local date in this chronology from the era, year-of-era, month-of-year and day-of-month fields.
|
LocalDate |
IsoChronology.date(Era
Obtains an ISO local date from the era, year-of-era, month-of-year and day-of-month fields.
|
MinguoDate |
MinguoChronology.date(Era
Obtains a local date in Minguo calendar system from the era, year-of-era, month-of-year and day-of-month fields.
|
JapaneseDate |
JapaneseChronology.date(Era
Obtains a local date in Japanese calendar system from the era, year-of-era, month-of-year and day-of-month fields.
|
HijrahDate |
HijrahChronology.dateYearDay(Era
Obtains a local date in Hijrah calendar system from the era, year-of-era and day-of-year fields.
|
ThaiBuddhistDate |
ThaiBuddhistChronology.dateYearDay(Era
Obtains a local date in Thai Buddhist calendar system from the era, year-of-era and day-of-year fields.
|
default ChronoLocalDate |
Chronology.dateYearDay(Era
Obtains a local date in this chronology from the era, year-of-era and day-of-year fields.
|
LocalDate |
IsoChronology.dateYearDay(Era
Obtains an ISO local date from the era, year-of-era and day-of-year fields.
|
MinguoDate |
MinguoChronology.dateYearDay(Era
Obtains a local date in Minguo calendar system from the era, year-of-era and day-of-year fields.
|
JapaneseDate |
JapaneseChronology.dateYearDay(Era
Obtains a local date in Japanese calendar system from the era, year-of-era and day-of-year fields.
|
int |
HijrahChronology.prolepticYear(Era
|
int |
ThaiBuddhistChronology.prolepticYear(Era
|
int |
Chronology.prolepticYear(Era
Calculates the proleptic-year given the era and year-of-era.
|
int |
IsoChronology.prolepticYear(Era
|
int |
MinguoChronology.prolepticYear(Era
|
int |
JapaneseChronology.prolepticYear(Era
|