Package | Description |
---|---|
javax.time.i18n |
Provides classes representing dates and times in alternate calendar systems.
|
Modifier and Type | Method and Description |
---|---|
HistoricEra |
HistoricDate.getEra()
Gets the historic era.
|
static HistoricEra |
HistoricEra.of(int era)
Obtains an instance of
HistoricEra from an int value. |
static HistoricEra |
HistoricEra.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static HistoricEra[] |
HistoricEra.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
DateTimeFieldRule<HistoricEra> |
HistoricChronology.eraRule()
Gets the rule for the year field in the Historic chronology.
|
Copyright © 2014. All rights reserved.