Uses of Class
org.threeten.extra.Days

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

    Fields in org.threeten.extra declared as Days
    Modifier and Type
    Field
    Description
    static final Days
    Days.ONE
    A constant for one day.
    static final Days
    Days.ZERO
    A constant for zero days.
    Methods in org.threeten.extra that return Days
    Modifier and Type
    Method
    Description
    Days.abs()
    Returns a copy of this duration with a positive length.
    static Days
    Days.between(Temporal startDateInclusive, Temporal endDateExclusive)
    Obtains a Days consisting of the number of days between two dates.
    Days.dividedBy(int divisor)
    Returns an instance with the amount divided by the specified divisor.
    static Days
    Days.from(TemporalAmount amount)
    Obtains an instance of Days from a temporal amount.
    Days.minus(int days)
    Returns a copy of this amount with the specified number of days subtracted.
    Days.minus(TemporalAmount amountToSubtract)
    Returns a copy of this amount with the specified amount subtracted.
    Days.multipliedBy(int scalar)
    Returns an instance with the amount multiplied by the specified scalar.
    Days.negated()
    Returns an instance with the amount negated.
    static Days
    Days.of(int days)
    Obtains a Days representing a number of days.
    static Days
    Days.ofWeeks(int weeks)
    Obtains a Days representing the number of days equivalent to a number of weeks.
    static Days
    Days.parse(CharSequence text)
    Obtains a Days from a text string such as PnD.
    Days.plus(int days)
    Returns a copy of this amount with the specified number of days added.
    Days.plus(TemporalAmount amountToAdd)
    Returns a copy of this amount with the specified amount added.
    Methods in org.threeten.extra with parameters of type Days
    Modifier and Type
    Method
    Description
    int
    Days.compareTo(Days otherAmount)
    Compares this amount to the specified Days.