Uses of Class
org.threeten.extra.Seconds
Packages that use Seconds
-
Uses of Seconds in org.threeten.extra
Fields in org.threeten.extra declared as SecondsMethods in org.threeten.extra that return SecondsModifier and TypeMethodDescriptionSeconds.abs()Returns a copy of this duration with a positive length.static SecondsObtains aSecondsconsisting of the number of seconds between two temporals.Seconds.dividedBy(int divisor) Returns an instance with the amount divided by the specified divisor.static SecondsSeconds.from(TemporalAmount amount) Obtains an instance ofSecondsfrom a temporal amount.Seconds.minus(int seconds) Returns a copy of this amount with the specified number of seconds subtracted.Seconds.minus(TemporalAmount amountToSubtract) Returns a copy of this amount with the specified amount subtracted.Seconds.multipliedBy(int scalar) Returns an instance with the amount multiplied by the specified scalar.Seconds.negated()Returns an instance with the amount negated.static SecondsSeconds.of(int seconds) Obtains aSecondsrepresenting a number of seconds.static SecondsSeconds.ofHours(int hours) Obtains aSecondsrepresenting the number of seconds equivalent to a number of hours.static SecondsSeconds.ofMinutes(int minutes) Obtains aSecondsrepresenting the number of seconds equivalent to a number of hours.static SecondsSeconds.parse(CharSequence text) Obtains aSecondsfrom a text string such asPTnS.Seconds.plus(int seconds) Returns a copy of this amount with the specified number of seconds added.Seconds.plus(TemporalAmount amountToAdd) Returns a copy of this amount with the specified amount added.Methods in org.threeten.extra with parameters of type Seconds