| Package | Description |
|---|---|
| org.threeten.bp.temporal |
Access to date and time using fields and units, plus additional value type classes.
|
| Modifier and Type | Method and Description |
|---|---|
SimplePeriod |
SimplePeriod.abs()
Returns a copy of this period with a positive amount.
|
<R extends Temporal> |
TemporalUnit.between(R dateTime1,
R dateTime2)
Calculates the period in terms of this unit between two temporal objects of the same type.
|
<R extends Temporal> |
ChronoUnit.between(R dateTime1,
R dateTime2) |
static SimplePeriod |
SimplePeriod.of(long amount,
TemporalUnit unit)
Obtains an instance of
SimplePeriod from a period in the specified unit. |
| Modifier and Type | Method and Description |
|---|---|
int |
SimplePeriod.compareTo(SimplePeriod other)
Compares this
SimplePeriod to another period. |
Copyright © 2007-2013 ThreeTen.org. All Rights Reserved.