Seconds |
Seconds.abs() |
Returns a copy of this duration with a positive length.
|
static Seconds |
Seconds.between(Temporal startInclusive,
Temporal endExclusive) |
Obtains a Seconds consisting of the number of seconds between two temporals.
|
Seconds |
Seconds.dividedBy(int divisor) |
Returns an instance with the amount divided by the specified divisor.
|
static Seconds |
Seconds.from(TemporalAmount amount) |
Obtains an instance of Seconds from a temporal amount.
|
Seconds |
Seconds.minus(int seconds) |
Returns a copy of this amount with the specified number of seconds subtracted.
|
Seconds |
Seconds.minus(TemporalAmount amountToSubtract) |
Returns a copy of this amount with the specified amount subtracted.
|
Seconds |
Seconds.multipliedBy(int scalar) |
Returns an instance with the amount multiplied by the specified scalar.
|
Seconds |
Seconds.negated() |
Returns an instance with the amount negated.
|
static Seconds |
Seconds.of(int seconds) |
Obtains a Seconds representing a number of seconds.
|
static Seconds |
Seconds.ofHours(int hours) |
Obtains a Seconds representing the number of seconds
equivalent to a number of hours.
|
static Seconds |
Seconds.ofMinutes(int minutes) |
Obtains a Seconds representing the number of seconds
equivalent to a number of hours.
|
static Seconds |
Seconds.parse(CharSequence text) |
Obtains a Seconds from a text string such as PTnS .
|
Seconds |
Seconds.plus(int seconds) |
Returns a copy of this amount with the specified number of seconds added.
|
Seconds |
Seconds.plus(TemporalAmount amountToAdd) |
Returns a copy of this amount with the specified amount added.
|