v7.3.0

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

No results

Properties

Properties are getters/setters or publicly accessible variables on this class

Source path

Scheduler/model/TimeRangeModel.js

Contents