| Package | Description |
|---|---|
| org.threeten.extra |
| Modifier and Type | Field and Description |
|---|---|
static Minutes |
Minutes.ZERO
A constant for zero minutes.
|
| Modifier and Type | Method and Description |
|---|---|
Minutes |
Minutes.abs()
Returns a copy of this duration with a positive length.
|
static Minutes |
Minutes.between(Temporal startDateInclusive,
Temporal endDateExclusive)
Obtains a
Minutes consisting of the number of minutes between two dates. |
Minutes |
Minutes.dividedBy(int divisor)
Returns an instance with the amount divided by the specified divisor.
|
static Minutes |
Minutes.from(TemporalAmount amount)
Obtains an instance of
Minutes from a temporal amount. |
Minutes |
Minutes.minus(int minutes)
Returns a copy of this amount with the specified number of minutes subtracted.
|
Minutes |
Minutes.minus(TemporalAmount amountToAdd)
Returns a copy of this amount with the specified amount subtracted.
|
Minutes |
Minutes.multipliedBy(int scalar)
Returns an instance with the amount multiplied by the specified scalar.
|
Minutes |
Minutes.negated()
Returns an instance with the amount negated.
|
static Minutes |
Minutes.of(int minutes)
Obtains a
Minutes representing a number of minutes. |
static Minutes |
Minutes.ofHours(int hours)
Obtains a
Minutes representing the number of minutes
equivalent to a number of hours. |
static Minutes |
Minutes.parse(CharSequence text)
Obtains a
Minutes from a text string such as PTnM. |
Minutes |
Minutes.plus(int minutes)
Returns a copy of this amount with the specified number of minutes added.
|
Minutes |
Minutes.plus(TemporalAmount amountToAdd)
Returns a copy of this amount with the specified amount added.
|
| Modifier and Type | Method and Description |
|---|---|
int |
Minutes.compareTo(Minutes otherAmount)
Compares this amount to the specified
Minutes. |
Copyright © 2010–2016 ThreeTen.org. All rights reserved.