Methods
addTo
- addTo<R>(temporal, amount): R
Parameters
temporal: R
amount: number
Returns R
between
- between(temporal1Inclusive, temporal2Exclusive): number
Returns number
getDuration
- getDuration(): Duration
isDateBased
- isDateBased(): boolean
Returns boolean
isDurationEstimated
- isDurationEstimated(): boolean
Returns boolean
isSupportedBy
- isSupportedBy(temporal): boolean
Returns boolean
isTimeBased
- isTimeBased(): boolean
Returns boolean
A unit of date-time, such as Days or Hours.
See java.time.temporal for full documentation