Uses of Class
net.time4j.range.CalendarWeek
-
Uses of CalendarWeek in net.time4j.range
Modifier and TypeMethodDescriptionstatic CalendarWeek
CalendarWeek.from(GregorianDate date)
Converts given gregorian date to a calendar week.Subtracts given weeks from this calendar week.Subtracts given years from this calendar week.static CalendarWeek
CalendarWeek.nowInSystemTime()
Obtains the current calendar week in system time.static CalendarWeek
CalendarWeek.of(int yearOfWeekdate, int weekOfYear)
Creates a new instance based on given week-based year and week-of-year according to ISO-8601.static CalendarWeek
Interpretes given ISO-conforming text as calendar week.Adds given weeks to this calendar week.Adds given years to this calendar week.CalendarWeek.withLastWeekOfYear()
Yields the last calendar week of the year of this instance.Modifier and TypeMethodDescriptionstatic CalendarPeriod<CalendarWeek>
CalendarPeriod.between(CalendarWeek w1, CalendarWeek w2)
Creates a calendar period for given calendar week range.static Chronology<CalendarWeek>
CalendarWeek.chronology()
Yields the associated chronology.static CalendarPeriod.Parser<CalendarWeek>
CalendarPeriod.onWeeks()
Defines a parser on which new calendar intervals for weeks can be created.static TimeLine<CalendarWeek>
CalendarWeek.timeline()
Obtains a timeline for this type.Modifier and TypeMethodDescriptionstatic CalendarPeriod<CalendarWeek>
CalendarPeriod.between(CalendarWeek w1, CalendarWeek w2)
Creates a calendar period for given calendar week range.static Weeks
Weeks.between(CalendarWeek w1, CalendarWeek w2)
Determines the difference in weeks between given quarter years.Years.between(CalendarWeek w1, CalendarWeek w2)
Determines the difference in years between given calendar weeks.int
CalendarWeek.compareTo(CalendarWeek other)