period

This property is retained for backwards compatibility. To perform date comparisons, see Compare Data by Date.

Specifies whether the two panels of a Calendar in doubleCalendar mode represent a period comparison or a simple date range.

Type

Boolean

true: display date comparison
false: disable date range (default)

Example

Calendar1.period = true;

Either syntax below can be used in component script:

period              // unqualified
Calendar1.period    // qualified

For onInit/onRefresh scripts, and for component and property scripts on other components, the second (qualified) form is required.