This cluster supports all TimeFormatLocalization features. It may support illegal feature combinations.

If you use this cluster you must manually specify which features are active and ensure the set of active features is legal per the Matter specification.

interface Complete {
    attributes: Merge<{
        acceptedCommandList: Attribute<CommandId[], never>;
        activeCalendarType: WritableAttribute<TimeFormatLocalization.CalendarType, any> & {
            isConditional: true;
            mandatoryIf: [] | [{
                calendarFormat: boolean;
            }];
            optional: true;
            optionalIf: [] | ConditionalFeatureList<BitSchema>;
        };
        attributeList: Attribute<AttributeId[], never>;
        clusterRevision: Attribute<number, never>;
        featureMap: Attribute<TypeFromPartialBitSchema<{
            calendarFormat: BitFlag;
        }>, never>;
        generatedCommandList: Attribute<CommandId[], never>;
        hourFormat: WritableAttribute<TimeFormatLocalization.HourFormat, any>;
        supportedCalendarTypes: FixedAttribute<TimeFormatLocalization.CalendarType[], any> & {
            isConditional: true;
            mandatoryIf: [] | [{
                calendarFormat: boolean;
            }];
            optional: true;
            optionalIf: [] | ConditionalFeatureList<BitSchema>;
        };
    }, GlobalAttributes<{
        calendarFormat: BitFlag;
    }>>;
    base: undefined;
    commands: {};
    events: {};
    extensions: undefined;
    features: {
        calendarFormat: BitFlag;
    };
    id: Branded<Branded<44, "ClusterId">, "ClusterId">;
    name: "TimeFormatLocalization";
    revision: 1;
    supportedFeatures: {};
    unknown: false;
    alter<const AlterationsT>(alterations: AlterationsT): WithAlterations<Of<{
        attributes: {
            acceptedCommandList: Attribute<CommandId[], never>;
            activeCalendarType: WritableAttribute<TimeFormatLocalization.CalendarType, any> & {
                isConditional: true;
                mandatoryIf: [] | [{
                    calendarFormat: boolean;
                }];
                optional: true;
                optionalIf: [] | ConditionalFeatureList<BitSchema>;
            };
            attributeList: Attribute<AttributeId[], never>;
            clusterRevision: Attribute<number, never>;
            featureMap: Attribute<TypeFromPartialBitSchema<{
                calendarFormat: BitFlag;
            }>, never>;
            generatedCommandList: Attribute<CommandId[], never>;
            hourFormat: WritableAttribute<TimeFormatLocalization.HourFormat, any>;
            supportedCalendarTypes: FixedAttribute<TimeFormatLocalization.CalendarType[], any> & {
                isConditional: true;
                mandatoryIf: [] | [{
                    calendarFormat: boolean;
                }];
                optional: true;
                optionalIf: [] | ConditionalFeatureList<BitSchema>;
            };
        };
        features: {
            calendarFormat: BitFlag;
        };
        id: Branded<44, "ClusterId">;
        name: "TimeFormatLocalization";
        revision: 1;
    }>, AlterationsT>;
    enable<const FlagsT>(flags: FlagsT): WithFlags<Of<{
        attributes: {
            acceptedCommandList: Attribute<CommandId[], never>;
            activeCalendarType: WritableAttribute<TimeFormatLocalization.CalendarType, any> & {
                isConditional: true;
                mandatoryIf: [] | [{
                    calendarFormat: boolean;
                }];
                optional: true;
                optionalIf: [] | ConditionalFeatureList<BitSchema>;
            };
            attributeList: Attribute<AttributeId[], never>;
            clusterRevision: Attribute<number, never>;
            featureMap: Attribute<TypeFromPartialBitSchema<{
                calendarFormat: BitFlag;
            }>, never>;
            generatedCommandList: Attribute<CommandId[], never>;
            hourFormat: WritableAttribute<TimeFormatLocalization.HourFormat, any>;
            supportedCalendarTypes: FixedAttribute<TimeFormatLocalization.CalendarType[], any> & {
                isConditional: true;
                mandatoryIf: [] | [{
                    calendarFormat: boolean;
                }];
                optional: true;
                optionalIf: [] | ConditionalFeatureList<BitSchema>;
            };
        };
        features: {
            calendarFormat: BitFlag;
        };
        id: Branded<44, "ClusterId">;
        name: "TimeFormatLocalization";
        revision: 1;
    }>, FlagsT>;
    set<const ValuesT>(values: ValuesT): WithValues<Of<{
        attributes: {
            acceptedCommandList: Attribute<CommandId[], never>;
            activeCalendarType: WritableAttribute<TimeFormatLocalization.CalendarType, any> & {
                isConditional: true;
                mandatoryIf: [] | [{
                    calendarFormat: boolean;
                }];
                optional: true;
                optionalIf: [] | ConditionalFeatureList<BitSchema>;
            };
            attributeList: Attribute<AttributeId[], never>;
            clusterRevision: Attribute<number, never>;
            featureMap: Attribute<TypeFromPartialBitSchema<{
                calendarFormat: BitFlag;
            }>, never>;
            generatedCommandList: Attribute<CommandId[], never>;
            hourFormat: WritableAttribute<TimeFormatLocalization.HourFormat, any>;
            supportedCalendarTypes: FixedAttribute<TimeFormatLocalization.CalendarType[], any> & {
                isConditional: true;
                mandatoryIf: [] | [{
                    calendarFormat: boolean;
                }];
                optional: true;
                optionalIf: [] | ConditionalFeatureList<BitSchema>;
            };
        };
        features: {
            calendarFormat: BitFlag;
        };
        id: Branded<44, "ClusterId">;
        name: "TimeFormatLocalization";
        revision: 1;
    }>, ValuesT>;
    with<const SelectionT>(...selection: SelectionT): Of<Of<{
        attributes: {
            acceptedCommandList: Attribute<CommandId[], never>;
            activeCalendarType: WritableAttribute<TimeFormatLocalization.CalendarType, any> & {
                isConditional: true;
                mandatoryIf: [] | [{
                    calendarFormat: boolean;
                }];
                optional: true;
                optionalIf: [] | ConditionalFeatureList<BitSchema>;
            };
            attributeList: Attribute<AttributeId[], never>;
            clusterRevision: Attribute<number, never>;
            featureMap: Attribute<TypeFromPartialBitSchema<{
                calendarFormat: BitFlag;
            }>, never>;
            generatedCommandList: Attribute<CommandId[], never>;
            hourFormat: WritableAttribute<TimeFormatLocalization.HourFormat, any>;
            supportedCalendarTypes: FixedAttribute<TimeFormatLocalization.CalendarType[], any> & {
                isConditional: true;
                mandatoryIf: [] | [{
                    calendarFormat: boolean;
                }];
                optional: true;
                optionalIf: [] | ConditionalFeatureList<BitSchema>;
            };
        };
        features: {
            calendarFormat: BitFlag;
        };
        id: Branded<44, "ClusterId">;
        name: "TimeFormatLocalization";
        revision: 1;
    }>, SelectionT>;
}

Hierarchy (view full)

Properties

attributes: Merge<{
    acceptedCommandList: Attribute<CommandId[], never>;
    activeCalendarType: WritableAttribute<TimeFormatLocalization.CalendarType, any> & {
        isConditional: true;
        mandatoryIf: [] | [{
            calendarFormat: boolean;
        }];
        optional: true;
        optionalIf: [] | ConditionalFeatureList<BitSchema>;
    };
    attributeList: Attribute<AttributeId[], never>;
    clusterRevision: Attribute<number, never>;
    featureMap: Attribute<TypeFromPartialBitSchema<{
        calendarFormat: BitFlag;
    }>, never>;
    generatedCommandList: Attribute<CommandId[], never>;
    hourFormat: WritableAttribute<TimeFormatLocalization.HourFormat, any>;
    supportedCalendarTypes: FixedAttribute<TimeFormatLocalization.CalendarType[], any> & {
        isConditional: true;
        mandatoryIf: [] | [{
            calendarFormat: boolean;
        }];
        optional: true;
        optionalIf: [] | ConditionalFeatureList<BitSchema>;
    };
}, GlobalAttributes<{
    calendarFormat: BitFlag;
}>>
base: undefined
commands: {}
events: {}
extensions: undefined
features: {
    calendarFormat: BitFlag;
}

Type declaration

  • ReadonlycalendarFormat: BitFlag

    CalendarFormat

    The Node can be configured to use different calendar formats when conveying values to a user.

id: Branded<Branded<44, "ClusterId">, "ClusterId">
name
revision
supportedFeatures: {}
unknown

Methods