神岛 API 文档 - ArenaPro版
    Preparing search index...

    Interface DateTimeFormatOptions

    interface DateTimeFormatOptions {
        calendar?: string;
        dateStyle?: "short" | "long" | "full" | "medium";
        day?: "numeric" | "2-digit";
        dayPeriod?: "short" | "long" | "narrow";
        era?: "short" | "long" | "narrow";
        formatMatcher?: "best fit" | "basic";
        hour?: "numeric" | "2-digit";
        hour12?: boolean;
        hourCycle?: "h11" | "h12" | "h23" | "h24";
        localeMatcher?: "lookup" | "best fit";
        minute?: "numeric" | "2-digit";
        month?: "short" | "long" | "narrow" | "numeric" | "2-digit";
        numberingSystem?: string;
        second?: "numeric" | "2-digit";
        timeStyle?: "short" | "long" | "full" | "medium";
        timeZone?: string;
        timeZoneName?:
            | "short"
            | "long"
            | "shortOffset"
            | "longOffset"
            | "shortGeneric"
            | "longGeneric";
        weekday?: "short"
        | "long"
        | "narrow";
        year?: "numeric" | "2-digit";
    }
    Index

    Properties

    calendar?: string
    dateStyle?: "short" | "long" | "full" | "medium"
    day?: "numeric" | "2-digit"
    dayPeriod?: "short" | "long" | "narrow"
    era?: "short" | "long" | "narrow"
    formatMatcher?: "best fit" | "basic"
    hour?: "numeric" | "2-digit"
    hour12?: boolean
    hourCycle?: "h11" | "h12" | "h23" | "h24"
    localeMatcher?: "lookup" | "best fit"
    minute?: "numeric" | "2-digit"
    month?: "short" | "long" | "narrow" | "numeric" | "2-digit"
    numberingSystem?: string
    second?: "numeric" | "2-digit"
    timeStyle?: "short" | "long" | "full" | "medium"
    timeZone?: string
    timeZoneName?:
        | "short"
        | "long"
        | "shortOffset"
        | "longOffset"
        | "shortGeneric"
        | "longGeneric"
    weekday?: "short" | "long" | "narrow"
    year?: "numeric" | "2-digit"