| Package | Description |
|---|---|
| org.threeten.extra |
| Modifier and Type | Field and Description |
|---|---|
static Days |
Days.ONE
A constant for one day.
|
static Days |
Days.ZERO
A constant for zero days.
|
| Modifier and Type | Method and Description |
|---|---|
Days |
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 |
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 |
Days.minus(int days)
Returns a copy of this amount with the specified number of days subtracted.
|
Days |
Days.minus(TemporalAmount amountToAdd)
Returns a copy of this amount with the specified amount subtracted.
|
Days |
Days.multipliedBy(int scalar)
Returns an instance with the amount multiplied by the specified scalar.
|
Days |
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 |
Days.plus(int days)
Returns a copy of this amount with the specified number of days added.
|
Days |
Days.plus(TemporalAmount amountToAdd)
Returns a copy of this amount with the specified amount added.
|
| Modifier and Type | Method and Description |
|---|---|
int |
Days.compareTo(Days otherAmount)
Compares this amount to the specified
Days. |
Copyright © 2010–2016 ThreeTen.org. All rights reserved.