Constructor and Description |
---|
TemporalValuable(TemporalAccessor from,
TemporalAccessor to)
Constructs a new
TemporalValuable representing the duration
between from and to. |
Modifier and Type | Method and Description |
---|---|
double |
doubleValue()
Seconds of the duration between from and to temporals.
|
String |
toString()
Complete duration representation of ISO-8601: PnYnMnDTnHnMnS.
|
public TemporalValuable(TemporalAccessor from, TemporalAccessor to)
TemporalValuable
representing the duration
between from and to.from
- the temporal object the duration starts atto
- the temporal object the duration ends atpublic double doubleValue()
doubleValue
in interface Valuable