| Package | Description |
|---|---|
| net.time4j |
The main package contains four basic types of ISO-8601, namely
PlainDate, PlainTime, PlainTimestamp
and Moment. |
| net.time4j.calendar |
Support for various regional calendars.
|
| net.time4j.range |
Interval support.
|
| net.time4j.tz.model |
Permits the construction of historized or rule-based timezones.
|
| Modifier and Type | Field and Description |
|---|---|
static NavigableElement<Month> |
PlainDate.MONTH_OF_YEAR
Element with the calendar month as enum in the value range
JANUARY-DECEMBER). |
static ChronoElement<Month> |
AnnualDate.MONTH_OF_YEAR
Element with the calendar month as enum in the value range
JANUARY-DECEMBER). |
| Modifier and Type | Method and Description |
|---|---|
static Month |
Month.atEndOfQuarterYear(Quarter quarterOfYear)
Gets the last month of given quarter of year.
|
static Month |
Month.atStartOfQuarterYear(Quarter quarterOfYear)
Gets the first month of given quarter of year.
|
static Month |
Month.from(Month threetenMonth)
Conversion from the
java.time-equivalent. |
Month |
AnnualDate.getMonth()
Obtains the gregorian month.
|
Month |
Month.next()
Rolls to the next month.
|
static Month |
Month.parse(CharSequence text,
Locale locale,
TextWidth width,
OutputContext context)
Tries to interprete given text as month.
|
Month |
Month.previous()
Rolls to the previous month.
|
Month |
Month.roll(int months)
Rolls this month by given amount of months.
|
static Month |
Month.valueOf(int month)
Gets the enum-constant which corresponds to the given numerical
value.
|
static Month |
Month.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Month[] |
Month.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
static PlainDate |
PlainDate.of(int year,
Month month,
int dayOfMonth)
Creates a new calendar date conforming to ISO-8601.
|
static AnnualDate |
AnnualDate.of(Month month,
int dayOfMonth)
Creates a new annual date.
|
static Weekday |
Weekday.valueOf(int year,
Month monthOfYear,
int dayOfMonth)
Gets the weekday corresponding to given gregorian date.
|
| Modifier and Type | Field and Description |
|---|---|
static StdCalendarElement<Month,ThaiSolarCalendar> |
ThaiSolarCalendar.MONTH_OF_YEAR
Represents the month.
|
static StdCalendarElement<Month,MinguoCalendar> |
MinguoCalendar.MONTH_OF_YEAR
Represents the month.
|
static StdCalendarElement<Month,JucheCalendar> |
JucheCalendar.MONTH_OF_YEAR
Represents the month.
|
static StdCalendarElement<Month,HistoricCalendar> |
HistoricCalendar.MONTH_OF_YEAR
Represents the historic month.
|
| Modifier and Type | Method and Description |
|---|---|
Month |
ThaiSolarCalendar.getMonth()
Yields the (gregorian) month.
|
Month |
MinguoCalendar.getMonth()
Yields the (gregorian) month.
|
Month |
JulianCalendar.getMonth()
Yields the Julian month.
|
Month |
JucheCalendar.getMonth()
Yields the (gregorian) month.
|
Month |
HistoricCalendar.getMonth()
Yields the historic month.
|
| Modifier and Type | Method and Description |
|---|---|
static JulianCalendar |
JulianCalendar.of(HistoricEra era,
int yearOfEra,
Month month,
int dayOfMonth)
Creates a new instance of a Julian calendar date.
|
static JucheCalendar |
JucheCalendar.of(int yearOfEra,
Month month,
int dayOfMonth)
Creates a new instance of a Juche calendar date.
|
static MinguoCalendar |
MinguoCalendar.of(MinguoEra era,
int yearOfEra,
Month month,
int dayOfMonth)
Creates a new instance of a Minguo calendar date.
|
static ThaiSolarCalendar |
ThaiSolarCalendar.ofBuddhist(int yearOfEra,
Month month,
int dayOfMonth)
Creates a new instance of a Thai solar calendar date.
|
| Modifier and Type | Field and Description |
|---|---|
static ChronoElement<Month> |
CalendarMonth.MONTH_OF_YEAR
Element with the month of year in the value range
January - December. |
| Modifier and Type | Method and Description |
|---|---|
Month |
CalendarMonth.getMonth()
Yields the month as enum.
|
| Modifier and Type | Method and Description |
|---|---|
CalendarMonth |
CalendarYear.at(Month month)
Combines this year with given month to a calendar month.
|
static CalendarMonth |
CalendarMonth.of(int year,
Month month)
Creates a new instance based on given gregorian calendar year and month.
|
| Modifier and Type | Method and Description |
|---|---|
Month |
GregorianTimezoneRule.getMonth()
Yields the gregorian month of time switch.
|
| Modifier and Type | Method and Description |
|---|---|
static GregorianTimezoneRule |
GregorianTimezoneRule.ofFixedDay(Month month,
int dayOfMonth,
int timeOfDay,
OffsetIndicator indicator,
int savings)
Creates a rule for a fixed day in given month.
|
static GregorianTimezoneRule |
GregorianTimezoneRule.ofFixedDay(Month month,
int dayOfMonth,
PlainTime timeOfDay,
OffsetIndicator indicator,
int savings)
Creates a rule for a fixed day in given month.
|
static GregorianTimezoneRule |
GregorianTimezoneRule.ofLastWeekday(Month month,
Weekday dayOfWeek,
int timeOfDay,
OffsetIndicator indicator,
int savings)
Creates a rule for the last day of week in given month.
|
static GregorianTimezoneRule |
GregorianTimezoneRule.ofLastWeekday(Month month,
Weekday dayOfWeek,
PlainTime timeOfDay,
OffsetIndicator indicator,
int savings)
Creates a rule for the last day of week in given month.
|
static GregorianTimezoneRule |
GregorianTimezoneRule.ofWeekdayAfterDate(Month month,
int dayOfMonth,
Weekday dayOfWeek,
int timeOfDay,
OffsetIndicator indicator,
int savings)
Creates a rule for a day of week after the given reference date.
|
static GregorianTimezoneRule |
GregorianTimezoneRule.ofWeekdayAfterDate(Month month,
int dayOfMonth,
Weekday dayOfWeek,
PlainTime timeOfDay,
OffsetIndicator indicator,
int savings)
Creates a rule for a day of week after the given reference date.
|
static GregorianTimezoneRule |
GregorianTimezoneRule.ofWeekdayBeforeDate(Month month,
int dayOfMonth,
Weekday dayOfWeek,
int timeOfDay,
OffsetIndicator indicator,
int savings)
Creates a rule for a day of week before the given reference date.
|
static GregorianTimezoneRule |
GregorianTimezoneRule.ofWeekdayBeforeDate(Month month,
int dayOfMonth,
Weekday dayOfWeek,
PlainTime timeOfDay,
OffsetIndicator indicator,
int savings)
Creates a rule for a day of week before the given reference date.
|
Copyright © 2014–2021. All rights reserved.