TimeRangeModel
This class represents a named time range. It is used by the TimeRanges feature.
This class inherits most of its fields from TimeSpan. The most important of these fields are the following:
It's an indirect subclass of Model. Please refer to documentation of those classes to become familiar with the base interface of this class. The data source of any field can be customized in the subclass. Please refer to Model for details.
Time ranges may recur. See the recurrenceRule field.
const timeRange = new TimeRangeModel({
name : 'Lunch break',
startDate : '2024-01-15T12:00',
endDate : '2024-01-15T13:00',
cls : 'lunch-break'
});
See also
- TimeRanges - Time ranges feature
- TimeSpan - Base time span model
- ResourceTimeRangeModel - Per-resource time range model
No results
Properties
Properties are getters/setters or publicly accessible variables on this class-
Identifies an object as an instance of TimeRangeModel class, or subclass thereof.
-
Identifies an object as an instance of TimeRangeModel class, or subclass thereof.