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

    Interface ResolvedDateTimeFormatOptions

    一个接口,表示由 Intl.DateTimeFormat 对象的 resolvedOptions 方法返回的已解析选项。

    An interface that represents the resolved options returned by the resolvedOptions method of an Intl.DateTimeFormat object.

    interface ResolvedDateTimeFormatOptions {
        calendar: string;
        day?: string;
        era?: string;
        hour?: string;
        hour12?: boolean;
        locale: string;
        minute?: string;
        month?: string;
        numberingSystem: string;
        second?: string;
        timeZone: string;
        timeZoneName?: string;
        weekday?: string;
        year?: string;
    }
    Index

    Properties

    calendar: string

    实际使用的日历。

    The calendar actually used.

    day?: string

    实际使用的日期表示方式。

    The representation of the day actually used.

    era?: string

    实际使用的纪元表示方式。

    The representation of the era actually used.

    hour?: string

    实际使用的小时表示方式。

    The representation of the hour actually used.

    hour12?: boolean

    是否使用 12 小时制的实际设置。

    The actual setting for whether to use 12-hour time.

    locale: string

    实际使用的区域设置。

    The locale actually used.

    minute?: string

    实际使用的分钟表示方式。

    The representation of the minute actually used.

    month?: string

    实际使用的月份表示方式。

    The representation of the month actually used.

    numberingSystem: string

    实际使用的编号系统。

    The numbering system actually used.

    second?: string

    实际使用的秒表示方式。

    The representation of the second actually used.

    timeZone: string

    实际使用的时区。

    The time zone actually used.

    timeZoneName?: string

    实际使用的时区名称表示方式。

    The representation of the time zone name actually used.

    weekday?: string

    实际使用的工作日表示方式。

    The representation of the weekday actually used.

    year?: string

    实际使用的年份表示方式。

    The representation of the year actually used.