From 57fd9303da680895e1c26dce20e1cf90c835c7cd Mon Sep 17 00:00:00 2001 From: houguobiao Date: Mon, 25 Nov 2024 23:24:59 +0800 Subject: [PATCH] =?UTF-8?q?CalendarPicker=E7=BB=84=E4=BB=B6=E6=94=AF?= =?UTF-8?q?=E6=8C=81=E9=85=8D=E7=BD=AE=E6=97=A5=E6=9C=9F=E7=A6=81=E7=94=A8?= =?UTF-8?q?=E3=80=81=E9=80=89=E4=B8=AD=E5=92=8C=E5=BD=93=E5=A4=A9=E6=97=A5?= =?UTF-8?q?=E6=9C=9F=E9=AB=98=E4=BA=AE=E6=98=BE=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: houguobiao Change-Id: I6d237a157acac7f384973b9e0218eff7ca42898d --- arkui/ace_engine/native/native_node.h | 28 +++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/arkui/ace_engine/native/native_node.h b/arkui/ace_engine/native/native_node.h index f83f1a181..0a9da859f 100644 --- a/arkui/ace_engine/native/native_node.h +++ b/arkui/ace_engine/native/native_node.h @@ -3891,6 +3891,34 @@ typedef enum { * */ NODE_CALENDAR_PICKER_TEXT_STYLE, + /** + * @brief Defines the diabled 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 diabled 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 16 + */ + 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 16 + */ + 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. * -- Gitee