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<Era> |
HijrahChronology.eras() |
List<Era> |
IsoChronology.eras() |
List<Era> |
JapaneseChronology.eras() |
List<Era> |
MinguoChronology.eras() |
List<Era> |
Chronology.eras()
Gets the list of eras for the chronology.
|
List<Era> |
ThaiBuddhistChronology.eras() |
Modifier and Type | Method and Description |
---|---|
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.
|
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.
|
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.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.
|
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.
|
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.
|
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 |
Chronology.prolepticYear(Era era,
int yearOfEra)
Calculates the proleptic-year given the era and year-of-era.
|
int |
ThaiBuddhistChronology.prolepticYear(Era era,
int yearOfEra) |
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, 2016, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.