@Immutable public interface IsoDuration extends TemporalAmount
Value that represents a duration can be created using Values.isoDuration(long, long, long, int) method.
| Modifier and Type | Method and Description |
|---|---|
long |
days()
Retrieve amount of days in this duration.
|
long |
months()
Retrieve amount of months in this duration.
|
int |
nanoseconds()
Retrieve amount of nanoseconds of the second in this duration.
|
long |
seconds()
Retrieve amount of seconds in this duration.
|
addTo, get, getUnits, subtractFromlong months()
long days()
long seconds()
int nanoseconds()
Copyright © 2018. All rights reserved.