Optional
delimiter?: stringThe delimiter to use between each unit. Defaults to a space.
Optional
fallThe fallback duration to use if the duration is zero. Defaults to "0 days".
Optional
numberThe number of units to format the duration in. Defaults to 6.
Optional
throwIf true, an error will be thrown if the end date is lower than the start date. Defaults to false.
Generated using TypeDoc
Defines the options for formatting a duration in units.