Uses of Class
org.threeten.extra.Weeks

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

    Fields in org.threeten.extra declared as Weeks
    Modifier and Type
    Field
    Description
    static final Weeks
    Weeks.ONE
    A constant for one week.
    static final Weeks
    Weeks.ZERO
    A constant for zero weeks.
    Methods in org.threeten.extra that return Weeks
    Modifier and Type
    Method
    Description
    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.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.minus(int weeks)
    Returns a copy of this amount with the specified number of weeks subtracted.
    Weeks.minus(TemporalAmount amountToSubtract)
    Returns a copy of this amount with the specified amount subtracted.
    Weeks.multipliedBy(int scalar)
    Returns an instance with the amount multiplied by the specified scalar.
    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.plus(int weeks)
    Returns a copy of this amount with the specified number of weeks added.
    Weeks.plus(TemporalAmount amountToAdd)
    Returns a copy of this amount with the specified amount added.
    Methods in org.threeten.extra with parameters of type Weeks
    Modifier and Type
    Method
    Description
    int
    Weeks.compareTo(Weeks otherAmount)
    Compares this amount to the specified Weeks.