Uses of Enum Class
net.time4j.Month
Package
Description
The main package contains four basic types of ISO-8601, namely
PlainDate
, PlainTime
, PlainTimestamp
and Moment
.Support for various regional calendars.
Interval support.
Permits the construction of historized or rule-based timezones.
-
Uses of Month in net.time4j
Modifier and TypeFieldDescriptionstatic ChronoElement<Month>
AnnualDate.MONTH_OF_YEAR
Element with the calendar month as enum in the value rangeJANUARY-DECEMBER
).static NavigableElement<Month>
PlainDate.MONTH_OF_YEAR
Element with the calendar month as enum in the value rangeJANUARY-DECEMBER
).Modifier and TypeMethodDescriptionstatic 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
Conversion from thejava.time
-equivalent.AnnualDate.getMonth()
Obtains the gregorian 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.previous()
Rolls to the previous 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
Returns the enum constant of this class with the specified name.static Month[]
Month.values()
Returns an array containing the constants of this enum class, in the order they are declared.Modifier and TypeMethodDescriptionstatic AnnualDate
Creates a new annual date.static PlainDate
Creates a new calendar date conforming to ISO-8601.static Weekday
Gets the weekday corresponding to given gregorian date. -
Uses of Month in net.time4j.calendar
Modifier and TypeFieldDescriptionstatic StdCalendarElement<Month,HistoricCalendar>
HistoricCalendar.MONTH_OF_YEAR
Represents the historic month.static StdCalendarElement<Month,JucheCalendar>
JucheCalendar.MONTH_OF_YEAR
Represents the month.static StdCalendarElement<Month,MinguoCalendar>
MinguoCalendar.MONTH_OF_YEAR
Represents the month.static StdCalendarElement<Month,ThaiSolarCalendar>
ThaiSolarCalendar.MONTH_OF_YEAR
Represents the month.Modifier and TypeMethodDescriptionHistoricCalendar.getMonth()
Yields the historic month.JucheCalendar.getMonth()
Yields the (gregorian) month.JulianCalendar.getMonth()
Yields the Julian month.MinguoCalendar.getMonth()
Yields the (gregorian) month.ThaiSolarCalendar.getMonth()
Yields the (gregorian) month.Modifier and TypeMethodDescriptionstatic JucheCalendar
Creates a new instance of a Juche calendar date.static JulianCalendar
JulianCalendar.of(HistoricEra era, int yearOfEra, Month month, int dayOfMonth)
Creates a new instance of a Julian calendar date.static MinguoCalendar
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. -
Uses of Month in net.time4j.range
Modifier and TypeFieldDescriptionstatic ChronoElement<Month>
CalendarMonth.MONTH_OF_YEAR
Element with the month of year in the value rangeJanuary - December
.Modifier and TypeMethodDescriptionCombines this year with given month to a calendar month.static CalendarMonth
Creates a new instance based on given gregorian calendar year and month. -
Uses of Month in net.time4j.tz.model
Modifier and TypeMethodDescriptionGregorianTimezoneRule.getMonth()
Yields the gregorian month of time switch.Modifier and TypeMethodDescriptionstatic 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.