Type | Description | |||
Expression as String | A String expression that defines the days where the non-working time-interval is shown. For instance, the "weekday(value) = 1" indicates that the non-working time-interval should be displayed on Mondays . The Expression property supports value keyword among with a lot of operators and predefined functions. | |||
StartTime as String | A String expression that specifies the time to start the non-working time-interval. For instance, the "08:00" indicates the an 8 AM, while the "16:15" indicates the 8:15 PM | |||
EndTime as String | A String expression that specifies the time to end the non-working time-interval. For instance, the "08:00" indicates the an 8 AM, while the "16:15" indicates the 8:15 PM | |||
IDNonworkingPattern as Long | A Long expression that specifies the identifier of the NonworkingPattern object that will be associated with the newly created non-working time-interval |
Return | Description | |||
NonworkingTime | A NonworkingTime object being created. |
The NonworkingTimes object holds a collection of NonworkingTime objects. The NonworkingTime object indicates a time interval to be shown as non-working. Each NonworkingTime object can associate a NonworkingPattern object that specifies the colors and the pattern to show the non-working zone. The NonworkingPatterns collection is accessible through the NonworkingPatterns property of the control. The NonworkingDays property of the calendar defines the days to be non-working in the calendar.
The NonworkingTime's advantages are: