| Package | Description |
|---|---|
| net.time4j.calendar |
Support for various regional calendars.
|
| net.time4j.format.expert |
This package contains the expert-level format- and parse engine of Time4J.
|
| net.time4j.history |
Support for the historical ancestors of modern ISO-8601-standard.
|
| Modifier and Type | Method and Description |
|---|---|
ChronoHistory |
HistoricCalendar.getHistory()
Obtains the underlying calendar history.
|
| Modifier and Type | Method and Description |
|---|---|
static 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.
|
| Modifier and Type | Method and Description |
|---|---|
ChronoFormatter<T> |
ChronoFormatter.with(ChronoHistory history)
Creates a copy of this formatter with the given chronological history of gregorian calendar reforms.
|
| Modifier and Type | Field and Description |
|---|---|
static 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 constraint
BC 999979466 - AD 999979465). |
| Modifier and Type | Method and Description |
|---|---|
static ChronoHistory |
ChronoHistory.from(String variant)
Reconstructs the calendar history from given variant description.
|
static ChronoHistory |
ChronoHistory.of(Locale locale)
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 |
ChronoHistory.with(AncientJulianLeapYears ancientJulianLeapYears)
Creates a copy of this history with given historic julian leap year sequence.
|
ChronoHistory |
ChronoHistory.with(EraPreference eraPreference)
Creates a copy of this history with given era preference.
|
ChronoHistory |
ChronoHistory.with(NewYearStrategy newYearStrategy)
Creates a copy of this history with given new-year-strategy.
|
Copyright © 2014–2021. All rights reserved.