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 |
---|---|
IsoEra |
LocalDate.getEra()
Gets the era applicable at this date.
|
Modifier and Type | Method and Description |
---|---|
IsoEra |
IsoChronology.eraOf(int eraValue) |
static IsoEra |
IsoEra.of(int isoEra)
Obtains an instance of
IsoEra from an int value. |
static IsoEra |
IsoEra.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static IsoEra[] |
IsoEra.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
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.
DRAFT 9-internal+0-2016-01-26-133437.ivan.openjdk9onspinwait