Uses of Enum Class
net.time4j.history.YearDefinition
Package
Description
Support for various regional calendars.
Support for the historical ancestors of modern ISO-8601-standard.
-
Uses of YearDefinition in net.time4j.calendar
Modifier and TypeMethodDescriptionstatic HistoricCalendar
HistoricCalendar.of(ChronoHistory history, HistoricEra era, int yearOfEra, YearDefinition yearDefinition, int historicMonth, int historicDayOfMonth)
Constructs a new historic calendar. -
Uses of YearDefinition in net.time4j.history
Modifier and TypeFieldDescriptionstatic AttributeKey<YearDefinition>
ChronoHistory.YEAR_DEFINITION
Format attribute controlling the type of historic year used in parsing or formatting.Modifier and TypeMethodDescriptionstatic YearDefinition
Returns the enum constant of this class with the specified name.static YearDefinition[]
YearDefinition.values()
Returns an array containing the constants of this enum class, in the order they are declared.Modifier and TypeMethodDescriptionstatic HistoricDate
HistoricDate.of(HistoricEra era, int yearOfEra, int month, int dom, YearDefinition yearDefinition, NewYearStrategy newYearStrategy)
Constructs a new tuple of given historic chronological components.ChronoHistory.yearOfEra(YearDefinition yearDefinition)
Defines the element for the year of a given historic era.