The project instance, this entity belongs to.
Working time for the interval.
A CSS class to add to the element visualizing this interval.
The end date of the fixed (not recurrent) time interval.
A CSS class used to add an icon to the element visualizing this interval.
The "is working" flag, which defines what kind of interval this is - either working or non-working. Default value is false
,
denoting non-working intervals.
The name of the recurrent time interval. Might be used in the UI when visualizing intervals.
The priority of the interval.
The end date of the recurrent time interval. Should be specified as any expression, recognized by the excellent later library.
The field value can be omitted when recurrentStartDate has a recurrence rule provided. In this case the interval will be calculated based on start date schedule only. And then the effective interval end will be calculated as the end of the day found based on the start date schedule.
The start date of the recurrent time interval. Should be specified as any expression, recognized by the excellent later library.
The start date of the fixed (not recurrent) time interval.
Interval type (can be either a week or an exception).
Convenience method to get the instance of the assignment store in the project instance, this entity belongs to.
Convenience method to get the instance of the calendar manager store in the project instance, this entity belongs to.
Convenience method to get the instance of the dependency store in the project instance, this entity belongs to.
Convenience method to get the instance of the event store in the project instance, this entity belongs to.
The method to get the project instance, this entity belongs to.
Convenience method to get the instance of the resource store in the project instance, this entity belongs to.
Whether this interval is recurrent (both recurrentStartDate and recurrentEndDate are present and parsed correctly
by the later
library)
Whether this interval is static - both startDate and endDate are present and no recurrence rules provided to recurrentStartDate and recurrentEndDate fields.
Template method, which is called when model is joining the project (through joining some store that has already joined the project)
Template method, which is called when model is leaving the project (through leaving some store usually)
Helper method to parse recurrentStartDate and recurrentEndDate field values.
Processed schedule ready to be used by later.schedule() method.
The method to set the project instance, this entity belongs to.
Generated using TypeDoc
This is a calendar interval mixin.
Can be either a static time interval (if startDate/endDate are specified and no recurrentStartDate provided) or recurrent time interval (has recurrentStartDate provided).
By default it defines a non-working period (isWorking field has default value
false
), but can also define an explicit working time, for example to override some previous period.You probably don't need to create instances of this mixin directly, instead you pass its configuration object to the AbstractCalendarMixin.addInterval