Uses of Class
net.time4j.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
Modifier and TypeFieldDescriptionstatic Weekmodel
Weekmodel.ISO
Standard week rules as defined by ISO-8601.Modifier and TypeMethodDescriptionstatic Weekmodel
Gets a suitable weekmodel for the given country.static Weekmodel
Creates a new week model with the given rules and the weekend-definition Saturday/Sunday.static Weekmodel
Weekmodel.of(Weekday firstDayOfWeek, int minimalDaysInFirstWeek, Weekday startOfWeekend, Weekday endOfWeekend)
Creates a new week model with the given rules.static Weekmodel
Weekmodel.ofSystem()
Gets a suitable weekmodel for the default locale of system.Modifier and TypeMethodDescriptionint
Gets the numerical value corresponding to the rule of given week model on which day a week starts.static Weekday
Gets 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
Modifier and TypeMethodDescriptionstatic Weekmodel
ChineseCalendar.getDefaultWeekmodel()
Obtains the standard week model of this calendar.static Weekmodel
CopticCalendar.getDefaultWeekmodel()
Obtains the standard week model of this calendar.static Weekmodel
EthiopianCalendar.getDefaultWeekmodel()
Obtains the standard week model of this calendar.static Weekmodel
HebrewCalendar.getDefaultWeekmodel()
Obtains the standard week model of this calendar.static Weekmodel
HijriCalendar.getDefaultWeekmodel()
Obtains the standard week model of this calendar.static Weekmodel
HistoricCalendar.getDefaultWeekmodel()
Obtains the standard week model of this calendar.static Weekmodel
IndianCalendar.getDefaultWeekmodel()
Obtains the standard week model of this calendar.static Weekmodel
JapaneseCalendar.getDefaultWeekmodel()
Obtains the standard week model of this calendar.static Weekmodel
JucheCalendar.getDefaultWeekmodel()
Obtains the standard week model of this calendar.static Weekmodel
JulianCalendar.getDefaultWeekmodel()
Obtains the standard week model of this calendar.static Weekmodel
KoreanCalendar.getDefaultWeekmodel()
Obtains the standard week model of this calendar.static Weekmodel
MinguoCalendar.getDefaultWeekmodel()
Obtains the standard week model of this calendar.static Weekmodel
PersianCalendar.getDefaultWeekmodel()
Obtains the standard week model of this calendar.static Weekmodel
ThaiSolarCalendar.getDefaultWeekmodel()
Obtains the standard week model of this calendar.static Weekmodel
VietnameseCalendar.getDefaultWeekmodel()
Obtains the standard week model of this calendar.Modifier 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.