| Package | Description |
|---|---|
| net.time4j.calendar |
Support for various regional calendars.
|
| net.time4j.history |
Support for the historical ancestors of modern ISO-8601-standard.
|
| Modifier and Type | Field and Description |
|---|---|
static ChronoElement<HistoricEra> |
JulianCalendar.ERA
Represents the Julian era.
|
static ChronoElement<HistoricEra> |
HistoricCalendar.ERA
Represents the historic era.
|
| Modifier and Type | Method and Description |
|---|---|
HistoricEra |
JulianCalendar.getEra()
Yields the Julian era.
|
HistoricEra |
HistoricCalendar.getEra()
Yields the historic era.
|
| Modifier and Type | Method and Description |
|---|---|
static boolean |
JulianCalendar.isValid(HistoricEra era,
int yearOfEra,
int month,
int dayOfMonth)
Queries if given parameter values form a well defined calendar date.
|
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.
|
static JulianCalendar |
JulianCalendar.of(HistoricEra era,
int yearOfEra,
int month,
int dayOfMonth)
Creates a new instance of a Julian calendar date.
|
static JulianCalendar |
JulianCalendar.of(HistoricEra era,
int yearOfEra,
Month month,
int dayOfMonth)
Creates a new instance of a Julian calendar date.
|
| Modifier and Type | Method and Description |
|---|---|
HistoricEra |
HistoricDate.getEra()
Yields the historic era.
|
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 |
|---|---|
ChronoElement<HistoricEra> |
ChronoHistory.era()
Defines the element for the historic era.
|
| Modifier and Type | Method and Description |
|---|---|
HistoricDate |
ChronoHistory.getBeginOfYear(HistoricEra era,
int yearOfEra)
Determines the date of New Year.
|
int |
ChronoHistory.getLengthOfYear(HistoricEra era,
int yearOfEra)
Determines the length of given historic year in days.
|
static HistoricDate |
HistoricDate.of(HistoricEra era,
int yearOfEra,
int month,
int dom)
Equivalent to
HistoricDate.of(era, yearOfEra, month, dom,
YearDefinition.DUAL_DATING, NewYearRule.BEGIN_OF_JANUARY.until(Integer.MAX_VALUE)). |
static HistoricDate |
HistoricDate.of(HistoricEra era,
int yearOfEra,
int month,
int dom,
YearDefinition yearDefinition,
NewYearStrategy newYearStrategy)
Constructs a new tuple of given historic chronological components.
|
Copyright © 2014–2021. All rights reserved.