@neutrium/formatter - v1.0.1
    Preparing search index...

    Interface LocalizedDurationOptions

    Options for explicitly localized component presentation.

    These options require presentation: "localized", which is format-only, and a native or polyfilled Intl.DurationFormat implementation.

    Hierarchy (View Summary)

    Index

    Presentation style for the days component.

    daysDisplay?: DurationUnitDisplay

    Whether a zero-valued days component is omitted or always displayed.

    fractionalDigits?: number

    Fraction digits shown for seconds and used to round scalar inputs; integer from 0 to 9.

    Presentation style for the hours component.

    hoursDisplay?: DurationUnitDisplay

    Whether a zero-valued hours component is omitted or always displayed.

    Presentation style for the microseconds component.

    microsecondsDisplay?: DurationUnitDisplay

    Whether a zero-valued microseconds component is omitted or always displayed.

    Presentation style for the milliseconds component.

    millisecondsDisplay?: DurationUnitDisplay

    Whether a zero-valued milliseconds component is omitted or always displayed.

    Presentation style for the minutes component.

    minutesDisplay?: DurationUnitDisplay

    Whether a zero-valued minutes component is omitted or always displayed.

    Presentation style for the months component.

    monthsDisplay?: DurationUnitDisplay

    Whether a zero-valued months component is omitted or always displayed.

    Presentation style for the nanoseconds component.

    nanosecondsDisplay?: DurationUnitDisplay

    Whether a zero-valued nanoseconds component is omitted or always displayed.

    numberingSystem?: string

    Unicode numbering-system identifier used for numeric components.

    Presentation style for the seconds component.

    secondsDisplay?: DurationUnitDisplay

    Whether a zero-valued seconds component is omitted or always displayed.

    Localized presentation style. Defaults to short.

    Presentation style for the weeks component.

    weeksDisplay?: DurationUnitDisplay

    Whether a zero-valued weeks component is omitted or always displayed.

    Presentation style for the years component.

    yearsDisplay?: DurationUnitDisplay

    Whether a zero-valued years component is omitted or always displayed.