Uses of Class
org.threeten.extra.Seconds

Packages that use Seconds
Package
Description
Value types and utilities that extend java.time.*.
  • Uses of Seconds in org.threeten.extra

    Fields in org.threeten.extra declared as Seconds
    Modifier and Type
    Field
    Description
    static final Seconds
    Seconds.ZERO
    A constant for zero seconds.
    Methods in org.threeten.extra that return Seconds
    Modifier and Type
    Method
    Description
    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.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.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 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.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
    Modifier and Type
    Method
    Description
    int
    Seconds.compareTo(Seconds otherAmount)
    Compares this amount to the specified Seconds.