OptionaldaysPresentation style for the days component.
OptionaldaysWhether a zero-valued days component is omitted or always displayed.
OptionalfractionalFraction digits shown for seconds and used to round scalar inputs; integer from 0 to 9.
OptionalhoursPresentation style for the hours component.
OptionalhoursWhether a zero-valued hours component is omitted or always displayed.
OptionalmicrosecondsPresentation style for the microseconds component.
OptionalmicrosecondsWhether a zero-valued microseconds component is omitted or always displayed.
OptionalmillisecondsPresentation style for the milliseconds component.
OptionalmillisecondsWhether a zero-valued milliseconds component is omitted or always displayed.
OptionalminutesPresentation style for the minutes component.
OptionalminutesWhether a zero-valued minutes component is omitted or always displayed.
OptionalmonthsPresentation style for the months component.
OptionalmonthsWhether a zero-valued months component is omitted or always displayed.
OptionalnanosecondsPresentation style for the nanoseconds component.
OptionalnanosecondsWhether a zero-valued nanoseconds component is omitted or always displayed.
OptionalnumberingUnicode numbering-system identifier used for numeric components.
OptionalsecondsPresentation style for the seconds component.
OptionalsecondsWhether a zero-valued seconds component is omitted or always displayed.
OptionalstyleLocalized presentation style. Defaults to short.
OptionalweeksPresentation style for the weeks component.
OptionalweeksWhether a zero-valued weeks component is omitted or always displayed.
OptionalyearsPresentation style for the years component.
OptionalyearsWhether a zero-valued years component is omitted or always displayed.
Options for explicitly localized component presentation.
These options require
presentation: "localized", which is format-only, and a native or polyfilledIntl.DurationFormatimplementation.