Interface TimeLocaleDefinition

Specification of time locale to use when creating a new TimeLocaleObject

interface TimeLocaleDefinition {
    date: string;
    dateTime: string;
    days: [string, string, string, string, string, string, string];
    months: [string, string, string, string, string, string, string, string, string, string, string, string];
    periods: [string, string];
    shortDays: [string, string, string, string, string, string, string];
    shortMonths: [string, string, string, string, string, string, string, string, string, string, string, string];
    time: string;
}

Properties

date: string

The date (%x) format specifier (e.g., "%m/%d/%Y").

dateTime: string

The date and time (%c) format specifier (e.g., "%a %b %e %X %Y").

days: [string, string, string, string, string, string, string]

The full names of the weekdays, starting with Sunday.

months: [string, string, string, string, string, string, string, string, string, string, string, string]

The full names of the months (starting with January).

periods: [string, string]

The A.M. and P.M. equivalents (e.g., ["AM", "PM"]).

shortDays: [string, string, string, string, string, string, string]

The abbreviated names of the weekdays, starting with Sunday.

shortMonths: [string, string, string, string, string, string, string, string, string, string, string, string]

the abbreviated names of the months (starting with January).

time: string

The time (%X) format specifier (e.g., "%H:%M:%S").