Uses of Class
net.time4j.range.Weeks
-
Uses of Weeks in net.time4j.range
Modifier and TypeFieldDescriptionstatic Weeks
Weeks.ONE
Constant for exactly one week.static Weeks
Weeks.ZERO
Constant for zero weeks.Modifier and TypeMethodDescriptionstatic Weeks
Weeks.between(CalendarWeek w1, CalendarWeek w2)
Determines the difference in weeks between given quarter years.static <T extends TimePoint<? super CalendarUnit, T>>
WeeksWeeks.between(T t1, T t2)
Determines the temporal distance between given dates/time-points in weeks.static Weeks
Weeks.of(int weeks)
Obtains a time span in given weeks.static Weeks
Weeks.parsePeriod(String period)
Parses the canonical ISO-8601-format "PnW" with possible preceding minus-char.Modifier and TypeMethodDescriptionSubtracts given weeks from this calendar week.Adds given weeks to this calendar week.