Weeks |
Weeks.abs() |
Returns a copy of this duration with a positive length.
|
static Weeks |
Weeks.between(Temporal startDateInclusive,
Temporal endDateExclusive) |
Obtains a Weeks consisting of the number of weeks between two dates.
|
Weeks |
Weeks.dividedBy(int divisor) |
Returns an instance with the amount divided by the specified divisor.
|
static Weeks |
Weeks.from(TemporalAmount amount) |
Obtains an instance of Weeks from a temporal amount.
|
Weeks |
Weeks.minus(int weeks) |
Returns a copy of this amount with the specified number of weeks subtracted.
|
Weeks |
Weeks.minus(TemporalAmount amountToSubtract) |
Returns a copy of this amount with the specified amount subtracted.
|
Weeks |
Weeks.multipliedBy(int scalar) |
Returns an instance with the amount multiplied by the specified scalar.
|
Weeks |
Weeks.negated() |
Returns an instance with the amount negated.
|
static Weeks |
Weeks.of(int weeks) |
Obtains a Weeks representing a number of weeks.
|
static Weeks |
Weeks.parse(CharSequence text) |
Obtains a Weeks from a text string such as PnW .
|
Weeks |
Weeks.plus(int weeks) |
Returns a copy of this amount with the specified number of weeks added.
|
Weeks |
Weeks.plus(TemporalAmount amountToAdd) |
Returns a copy of this amount with the specified amount added.
|