CalendarDateRange¶
When assigning a rule to a property of CalendarDateRange, the rule will be passed an instance of the following proxy class as an argument:
CalendarDateRange Properties¶
| Property | Type | Required |
|---|---|---|
| EndDate | string |
No |
| StartDate | string |
No |
| _Type | const |
No |
EndDate¶
Selected end date of the calendar date range. To form a valid date range, start date needs to be later or equal to
StartDate. If the value set falls outside the range specified by StartDate and EndDate, it will be adjusted to
the nearest date within that range. Specify the value in yyyy-MM-dd or yyyy-MM-ddThh:mm:ss format for date. For
example, 2016-01-01 or 2016-01-01T00:00:00Z. Supports JavaScript Date Object as well. Value given will be set based on
the local time zone of the device.
If not set, today's date will be selected by default.
When the calendar is redrawn, the selected date is retained.
- type:
string
StartDate¶
Selected start date of the calendar date range. To form a valid date range, start date needs to be earlier or equal to
EndDate. If the value set falls outside the range specified by StartDate and EndDate, it will be adjusted to the
nearest date within that range. Specify the value in yyyy-MM-dd or yyyy-MM-ddThh:mm:ss format for date. For example,
2016-01-01 or 2016-01-01T00:00:00Z. Supports JavaScript Date Object as well. Value given will be set based on the local
time zone of the device.
If not set, today's date will be selected by default.
When the calendar is redrawn, the selected date is retained.
- type:
string
_Type¶
- type:
const
The value of this property must be:
"Calendar.Type.DateRange"