CalendarFormatComponent: {
    attributes: {
        activeCalendarType: WritableAttribute<TimeFormatLocalization.CalendarType, any>;
        supportedCalendarTypes: FixedAttribute<TimeFormatLocalization.CalendarType[], any>;
    };
}

A TimeFormatLocalizationCluster supports these elements if it supports feature CalendarFormat.

Type declaration

  • Readonlyattributes: {
        activeCalendarType: WritableAttribute<TimeFormatLocalization.CalendarType, any>;
        supportedCalendarTypes: FixedAttribute<TimeFormatLocalization.CalendarType[], any>;
    }
    • ReadonlyactiveCalendarType: WritableAttribute<TimeFormatLocalization.CalendarType, any>

      Indicates the calendar format that the Node is currently configured to use when conveying dates.

      If not UseActiveLocale, this value shall take priority over any unit implied through the ActiveLocale attribute.

      If UseActiveLocale, any unit implied through the ActiveLocale attribute is used as the calendar type, and if ActiveLocale is not present, the calendar type is unknown.

      MatterSpecification.v13.Core § 11.4.6.2

    • ReadonlysupportedCalendarTypes: FixedAttribute<TimeFormatLocalization.CalendarType[], any>

      Indicates a list of CalendarTypeEnum values that are supported by the Node. The list shall NOT contain any duplicate entries. The ordering of items within the list SHOULD NOT express any meaning. The maximum length of the SupportedCalendarTypes list shall be equivalent to the number of enumerations within CalendarTypeEnum.

      MatterSpecification.v13.Core § 11.4.6.3