Skip to main content
Version: v6.5.0

SAP Calendar Selection

Command Description

Select a date from the calendar, the target must be the SAP calendar component

Command Prototype

SAP.SelectDatesInCalendar(objUiElement, calendarDict)

Command parameter

parameterrequiredtypeDefault valuedescribe
objUiElementTruedecorator@ ui""Element feature string
calendarDictTruedictionary{}Set the date for the specified calendar component, supporting three modes: date, week, and range

Return result

Run instance

/*********************************SAP 日历选择************************************
命令原型:
SAP.SelectDatesInCalendar(objUiElement, calendarDict)
入参:
objUiElement--目标.注:元素特征字符串
calendarDict--设置日期.注:对指定的日历组件设置日期,支持日期,周,范围3种模式
出参:

注意事项:

********************************************************************************/
SAP.SelectDatesInCalendar(@ui"", {})