| Package | Description |
|---|---|
| org.threeten.extra |
| Modifier and Type | Field | Description |
|---|---|---|
static Minutes |
Minutes.ZERO |
A constant for zero minutes.
|
| Modifier and Type | Method | Description |
|---|---|---|
Minutes |
Minutes.abs() |
Returns a copy of this duration with a positive length.
|
static Minutes |
Minutes.between(java.time.temporal.Temporal startInclusive,
java.time.temporal.Temporal endExclusive) |
Obtains a
Minutes consisting of the number of minutes between two temporals. |
Minutes |
Minutes.dividedBy(int divisor) |
Returns an instance with the amount divided by the specified divisor.
|
static Minutes |
Minutes.from(java.time.temporal.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(java.time.temporal.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(java.lang.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(java.time.temporal.TemporalAmount amountToAdd) |
Returns a copy of this amount with the specified amount added.
|
| Modifier and Type | Method | Description |
|---|---|---|
int |
Minutes.compareTo(Minutes otherAmount) |
Compares this amount to the specified
Minutes. |
Copyright © 2010–2018 ThreeTen.org. All rights reserved.