Uses of Class
net.time4j.history.ChronoHistory
Package
Description
Support for various regional calendars.
This package contains the expert-level format- and parse engine of Time4J.
Support for the historical ancestors of modern ISO-8601-standard.
-
Uses of ChronoHistory in net.time4j.calendar
Modifier and TypeMethodDescriptionHistoricCalendar.getHistory()
Obtains the underlying calendar history.Modifier and TypeMethodDescriptionstatic HistoricCalendar
HistoricCalendar.nowInSystemTime(ChronoHistory history)
Obtains the current historic calendar date in system time.static HistoricCalendar
HistoricCalendar.of(ChronoHistory history, HistoricEra era, int relatedStandardYear, int historicMonth, int historicDayOfMonth)
Constructs a new historic calendar.static HistoricCalendar
HistoricCalendar.of(ChronoHistory history, HistoricEra era, int yearOfEra, YearDefinition yearDefinition, int historicMonth, int historicDayOfMonth)
Constructs a new historic calendar. -
Uses of ChronoHistory in net.time4j.format.expert
Modifier and TypeMethodDescriptionChronoFormatter.with(ChronoHistory history)
Creates a copy of this formatter with the given chronological history of gregorian calendar reforms. -
Uses of ChronoHistory in net.time4j.history
Modifier and TypeFieldDescriptionstatic ChronoHistory
ChronoHistory.PROLEPTIC_BYZANTINE
Describes no real historic event but just the proleptic byzantine calendar which is assumed to be in power all times from the creation of the world until the byzantine year 999984973.static ChronoHistory
ChronoHistory.PROLEPTIC_GREGORIAN
Describes no real historic event but just the proleptic gregorian calendar which is assumed to be in power all times.static ChronoHistory
ChronoHistory.PROLEPTIC_JULIAN
Describes no real historic event but just the proleptic julian calendar which is assumed to be in power all times (with the technical constraintBC 999979466 - AD 999979465
).Modifier and TypeMethodDescriptionstatic ChronoHistory
Reconstructs the calendar history from given variant description.static ChronoHistory
Determines the (usually approximate) history of gregorian calendar reforms for given locale.static ChronoHistory
ChronoHistory.ofFirstGregorianReform()
Describes the original switch from julian to gregorian calendar introduced by pope Gregor on 1582-10-15.static ChronoHistory
ChronoHistory.ofGregorianReform(PlainDate start)
Describes a single switch from julian to gregorian calendar at given date.static ChronoHistory
ChronoHistory.ofSweden()
The Swedish calendar has three cutover dates due to a failed experiment when switching to gregorian calendar in the years 1700-1712 step by step.ChronoHistory.with(AncientJulianLeapYears ancientJulianLeapYears)
Creates a copy of this history with given historic julian leap year sequence.ChronoHistory.with(EraPreference eraPreference)
Creates a copy of this history with given era preference.ChronoHistory.with(NewYearStrategy newYearStrategy)
Creates a copy of this history with given new-year-strategy.