Unicode MessageFormat for JavaScript
    Preparing search index...

    Interface MessageDateTimeBeta

    The resolved value of a :date, :datetime, or :time expression.

    interface MessageDateTime {
        dir: "ltr" | "rtl" | "auto";
        options: Readonly<Intl.DateTimeFormatOptions>;
        selectKey?: (keys: Set<string>) => null | string;
        type: "datetime";
        toParts(): [MessageDateTimePart];
        toString(): string;
        valueOf(): Date;
    }

    Hierarchy (View Summary)

    Index

    Properties

    dir: "ltr" | "rtl" | "auto"
    options: Readonly<Intl.DateTimeFormatOptions>
    selectKey?: (keys: Set<string>) => null | string
    type: "datetime"

    Methods