| Package | Description |
|---|---|
| net.time4j.calendar |
Support for various regional calendars.
|
| Modifier and Type | Field and Description |
|---|---|
static StdCalendarElement<Integer,HistoricCalendar> |
HistoricCalendar.DAY_OF_MONTH
Represents the historic day of month.
|
static StdCalendarElement<Weekday,HistoricCalendar> |
HistoricCalendar.DAY_OF_WEEK
Represents the historic day of week.
|
static StdCalendarElement<Integer,HistoricCalendar> |
HistoricCalendar.DAY_OF_YEAR
Represents the historic day of year.
|
static StdCalendarElement<Month,HistoricCalendar> |
HistoricCalendar.MONTH_OF_YEAR
Represents the historic month.
|
static OrdinalWeekdayElement<HistoricCalendar> |
HistoricCalendar.WEEKDAY_IN_MONTH
Element with the ordinal day-of-week within given calendar month.
|
| Modifier and Type | Method and Description |
|---|---|
HistoricCalendar |
HistoricCalendar.nextDay()
Convenient short form for
with(DAY_OF_MONTH.incremented())
or plus(CalendarDays.ONE). |
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.
|
HistoricCalendar |
HistoricCalendar.withNewYear()
Obtains the start of this year (which is often not the first of January).
|
| Modifier and Type | Method and Description |
|---|---|
GeneralTimestamp<HistoricCalendar> |
HistoricCalendar.at(PlainTime time)
Creates a new local timestamp with this date and given wall time.
|
GeneralTimestamp<HistoricCalendar> |
HistoricCalendar.atTime(int hour,
int minute)
Is equivalent to
at(PlainTime.of(hour, minute)). |
static CalendarFamily<HistoricCalendar> |
HistoricCalendar.family()
Returns the associated calendar family.
|
Copyright © 2014–2021. All rights reserved.