[Go to site: main page, start]

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>) => string | null;
    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>) => string | null
type: "datetime"

Methods