Skip to content

TemporalDuration

Options for setting/adding/subtracing a duration.

Type: Object

Properties

ParameterTypeOptional
yearsNumber?Yes
monthsNumber?Yes
weeksNumber?Yes
daysNumber?Yes
hoursNumber?Yes
minutesNumber?Yes
secondsNumber?Yes
millisecondsNumber?Yes
microsecondsNumber?Yes
nanosecondsNumber?Yes