Uses of Class
net.time4j.Weekmodel
Packages that use Weekmodel
Package
Description
The main package contains four basic types of ISO-8601, namely
PlainDate, PlainTime, PlainTimestamp
and Moment.Support for various regional calendars.
-
Uses of Weekmodel in net.time4j
Fields in net.time4j declared as WeekmodelModifier and TypeFieldDescriptionstatic WeekmodelWeekmodel.ISOStandard week rules as defined by ISO-8601.Methods in net.time4j that return WeekmodelModifier and TypeMethodDescriptionstatic WeekmodelGets a suitable weekmodel for the given country.static WeekmodelCreates a new week model with the given rules and the weekend-definition Saturday/Sunday.static WeekmodelWeekmodel.of(Weekday firstDayOfWeek, int minimalDaysInFirstWeek, Weekday startOfWeekend, Weekday endOfWeekend)Creates a new week model with the given rules.static WeekmodelWeekmodel.ofSystem()Gets a suitable weekmodel for the default locale of system.Methods in net.time4j with parameters of type WeekmodelModifier and TypeMethodDescriptionintGets the numerical value corresponding to the rule of given week model on which day a week starts.static WeekdayGets the enum-constant which corresponds to the given localized numerical value taking into account given week model.static Weekday[]Yields an array which is sorted corresponding to the rule of given week model on which day a week starts. -
Uses of Weekmodel in net.time4j.calendar
Methods in net.time4j.calendar that return WeekmodelModifier and TypeMethodDescriptionstatic WeekmodelChineseCalendar.getDefaultWeekmodel()Obtains the standard week model of this calendar.static WeekmodelCopticCalendar.getDefaultWeekmodel()Obtains the standard week model of this calendar.static WeekmodelEthiopianCalendar.getDefaultWeekmodel()Obtains the standard week model of this calendar.static WeekmodelHebrewCalendar.getDefaultWeekmodel()Obtains the standard week model of this calendar.static WeekmodelHijriCalendar.getDefaultWeekmodel()Obtains the standard week model of this calendar.static WeekmodelHistoricCalendar.getDefaultWeekmodel()Obtains the standard week model of this calendar.static WeekmodelIndianCalendar.getDefaultWeekmodel()Obtains the standard week model of this calendar.static WeekmodelJapaneseCalendar.getDefaultWeekmodel()Obtains the standard week model of this calendar.static WeekmodelJucheCalendar.getDefaultWeekmodel()Obtains the standard week model of this calendar.static WeekmodelJulianCalendar.getDefaultWeekmodel()Obtains the standard week model of this calendar.static WeekmodelKoreanCalendar.getDefaultWeekmodel()Obtains the standard week model of this calendar.static WeekmodelMinguoCalendar.getDefaultWeekmodel()Obtains the standard week model of this calendar.static WeekmodelPersianCalendar.getDefaultWeekmodel()Obtains the standard week model of this calendar.static WeekmodelThaiSolarCalendar.getDefaultWeekmodel()Obtains the standard week model of this calendar.static WeekmodelVietnameseCalendar.getDefaultWeekmodel()Obtains the standard week model of this calendar.Methods in net.time4j.calendar with parameters of type WeekmodelModifier and TypeMethodDescriptionstatic <T extends ChronoEntity<T> & CalendarDate>
StdCalendarElement<Integer,T>CommonElements.boundedWeekOfMonth(Chronology<T> chronology, Weekmodel model)Creates an integer element for the week of month in given chronology dependent on given week model and constrained by month boundaries.static <T extends ChronoEntity<T> & CalendarDate>
StdCalendarElement<Integer,T>CommonElements.boundedWeekOfYear(Chronology<T> chronology, Weekmodel model)Creates an integer element for the week of year in given chronology dependent on given week model and constrained by year boundaries.static <T extends ChronoEntity<T> & CalendarDate>
StdCalendarElement<Weekday,T>CommonElements.localDayOfWeek(Chronology<T> chronology, Weekmodel model)Defines an element for the weekday with a localized day number in the value range1-7.static <T extends ChronoEntity<T> & CalendarDate>
StdCalendarElement<Integer,T>CommonElements.weekOfMonth(Chronology<T> chronology, Weekmodel model)Creates an integer element for the week of month in given chronology dependent on given week model.static <T extends ChronoEntity<T> & CalendarDate>
StdCalendarElement<Integer,T>CommonElements.weekOfYear(Chronology<T> chronology, Weekmodel model)Creates an integer element for the week of year in given chronology dependent on given week model.