MAIDR JavaScript API
    Preparing search index...

    Interface DurationUnit

    One unit a span of time is read in.

    interface DurationUnit {
        ms: number;
        one: MessageKey;
        many: MessageKey;
        name: MessageKey;
    }
    Index

    Properties

    Properties

    ms: number

    The milliseconds in one of it.

    The words for a count of exactly 1.

    The words for any other count.

    The unit's own name, with no count: "days".