Uses of Enum Class
javax.time.i18n.HistoricEra
Packages that use HistoricEra
Package
Description
Provides classes representing dates and times in alternate calendar systems.
-
Uses of HistoricEra in javax.time.i18n
Methods in javax.time.i18n that return HistoricEraModifier and TypeMethodDescriptionprotected HistoricEra
HistoricChronology.EraRule.derive
(Calendrical calendrical) HistoricDate.getEra()
Gets the historic era.static HistoricEra
HistoricEra.of
(int era) Obtains an instance ofHistoricEra
from anint
value.static HistoricEra
Returns the enum constant of this class with the specified name.static HistoricEra[]
HistoricEra.values()
Returns an array containing the constants of this enum class, in the order they are declared.Methods in javax.time.i18n that return types with arguments of type HistoricEraModifier and TypeMethodDescriptionHistoricChronology.eraRule()
Gets the rule for the year field in the Historic chronology.