| Package | Description |
|---|---|
| net.time4j.range |
Interval support.
|
| Modifier and Type | Field and Description |
|---|---|
static Weeks |
Weeks.ONE
Constant for exactly one week.
|
static Weeks |
Weeks.ZERO
Constant for zero weeks.
|
| Modifier and Type | Method and Description |
|---|---|
static Weeks |
Weeks.between(CalendarWeek w1,
CalendarWeek w2)
Determines the difference in weeks between given quarter years.
|
static <T extends TimePoint<? super CalendarUnit,T>> |
Weeks.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 Type | Method and Description |
|---|---|
CalendarWeek |
CalendarWeek.minus(Weeks weeks)
Subtracts given weeks from this calendar week.
|
CalendarWeek |
CalendarWeek.plus(Weeks weeks)
Adds given weeks to this calendar week.
|
Copyright © 2014–2021. All rights reserved.