Interface ResolvedDateTimeFormatOptions

interface ResolvedDateTimeFormatOptions {
    calendar: string;
    dateStyle?:
        | "short"
        | "long"
        | "full"
        | "medium";
    day?: string;
    dayPeriod?: "short" | "long" | "narrow";
    era?: string;
    formatMatcher?: "best fit" | "basic";
    fractionalSecondDigits?: 1 | 2 | 3;
    hour?: string;
    hour12?: boolean;
    hourCycle?:
        | "h11"
        | "h12"
        | "h23"
        | "h24";
    locale: string;
    minute?: string;
    month?: string;
    numberingSystem: string;
    second?: string;
    timeStyle?:
        | "short"
        | "long"
        | "full"
        | "medium";
    timeZone: string;
    timeZoneName?: string;
    weekday?: string;
    year?: string;
}

Properties

calendar: string
dateStyle?:
    | "short"
    | "long"
    | "full"
    | "medium"
day?: string
dayPeriod?: "short" | "long" | "narrow"
era?: string
formatMatcher?: "best fit" | "basic"
fractionalSecondDigits?: 1 | 2 | 3
hour?: string
hour12?: boolean
hourCycle?:
    | "h11"
    | "h12"
    | "h23"
    | "h24"
locale: string
minute?: string
month?: string
numberingSystem: string
second?: string
timeStyle?:
    | "short"
    | "long"
    | "full"
    | "medium"
timeZone: string
timeZoneName?: string
weekday?: string
year?: string