diff --git a/arkui/ace_engine/native/native_node.h b/arkui/ace_engine/native/native_node.h index 92151c9688b4db549109df8d8eab39b7abe98b23..22f43040a7511cb27117a4141139e840e3fc242a 100644 --- a/arkui/ace_engine/native/native_node.h +++ b/arkui/ace_engine/native/native_node.h @@ -4052,6 +4052,7 @@ typedef enum { * Format of the return value {@link ArkUI_AttributeItem}:\n * .string: date. \n * + * @since 18 */ NODE_DATE_PICKER_START, /** @@ -4064,6 +4065,7 @@ typedef enum { * Format of the return value {@link ArkUI_AttributeItem}:\n * .string: date. \n * + * @since 18 */ NODE_DATE_PICKER_END, /** @@ -4202,7 +4204,6 @@ typedef enum { * .string: time. * */ - NODE_TIME_PICKER_SELECTED = MAX_NODE_SCOPE_NUM * ARKUI_NODE_TIME_PICKER, /** * @brief Defines whether the display time is in 24-hour format. @@ -4618,6 +4619,35 @@ typedef enum { * @since 18 */ NODE_CALENDAR_PICKER_END = 16005, + /** + * @brief Defines the disabled date range of the calendar picker. + * This attribute can be set, reset, and obtained as required through APIs. + * + * Format of the {@link ArkUI_AttributeItem} parameter for setting the attribute:\n + * .string: A string of dates. The `1st start date`,`1st end date`,`2nd start date`,`2nd end date`, + * ...,`nth start date`,`nth end date` of the disabled date range.\n + * Example: 1910-01-01,1910-12-31,2020-01-01,2020-12-31\n + * \n + * Format of the return value {@link ArkUI_AttributeItem}:\n + * .string: A string of dates.\n + * + * @since 19 + */ + NODE_CALENDAR_PICKER_DISABLED_DATE_RANGE = 16006, + + /** + * @brief Defines whether the calendar picker marks today. + * This attribute can be set, reset, and obtained as required through APIs. + * + * Format of the {@link ArkUI_AttributeItem} parameter for setting the attribute:\n + * value[0].i32: whether the calendar picker marks today. The default value is false.\n + * \n + * Format of the return value {@link ArkUI_AttributeItem}:\n + * value[0].i32: whether the calendar picker marks today.\n + * + * @since 19 + */ + NODE_CALENDAR_PICKER_MARK_TODAY = 16007, /** * @brief Defines the color of the slider. This attribute can be set, reset, and obtained as required through APIs. * @@ -6704,35 +6734,6 @@ typedef enum { * @since 18 */ NODE_TEXT_PICKER_COLUMN_WIDTHS = 15009, - /** - * @brief Defines the disabled date range of the calendar picker. - * This attribute can be set, reset, and obtained as required through APIs. - * - * Format of the {@link ArkUI_AttributeItem} parameter for setting the attribute:\n - * .string: A string of dates. The `1st start date`,`1st end date`,`2nd start date`,`2nd end date`, - * ...,`nth start date`,`nth end date` of the disabled date range.\n - * Example: 1910-01-01,1910-12-31,2020-01-01,2020-12-31\n - * \n - * Format of the return value {@link ArkUI_AttributeItem}:\n - * .string: A string of dates.\n - * - * @since 19 - */ - NODE_CALENDAR_PICKER_DISABLED_DATE_RANGE = 16006, - - /** - * @brief Defines whether the calendar picker marks today. - * This attribute can be set, reset, and obtained as required through APIs. - * - * Format of the {@link ArkUI_AttributeItem} parameter for setting the attribute:\n - * value[0].i32: whether the calendar picker marks today. The default value is false.\n - * \n - * Format of the return value {@link ArkUI_AttributeItem}:\n - * value[0].i32: whether the calendar picker marks today.\n - * - * @since 19 - */ - NODE_CALENDAR_PICKER_MARK_TODAY = 16007, /** * @brief Defines the want used to start EmbeddedAbility.