CalendarModel

This class represents a calendar in the Gantt project. It contains a collection of the CalendarIntervalModel. Every interval can be either recurrent (regularly repeating in time) or static.

Please refer to the calendars guide for details

Configs

2

Models & Stores

taskStorePartOfProject

Other

adjustDurationToDSTCalendarModel

Properties

71

Class hierarchy

isCalendarModel: Boolean= truereadonly
Identifies an object as an instance of CalendarModel class, or subclass thereof.
isCalendarModel: Boolean= truereadonlystatic
Identifies an object as an instance of CalendarModel class, or subclass thereof.
isModelModel
isModelLinkModelLink
isModelStmModelStm
isPartOfProjectPartOfProject
isTreeNodeTreeNode

Editing

copyOfModel
isValidModel

Fields

allFieldsstaticModel
autoExposeFieldsstaticModel
childrenFieldstaticModel
defaultsstaticModel
fieldMapstaticModel
fieldsstaticModel
idFieldstaticModel

Grouping

Identification

keyModel

JSON

jsonModel

Lifecycle

configBase

Linked records

hasLinksModelLink
isLinkedModelLink
recordLinksModelLink

Misc

stmModelStm

Models & Stores

assignmentStorePartOfProject
dependencyStorePartOfProject
eventStorePartOfProject
resourceStorePartOfProject
taskStorePartOfProject

Other

$namestaticModel
intervalStoreCalendarModel
projectPartOfProject
relationsstaticModel

Parent & children

allChildrenTreeNode
childLevelTreeNode
firstChildTreeNode
isLeafTreeNode
isLoadedTreeNode
isParentTreeNode
isRootTreeNode
lastChildTreeNode
nextSiblingTreeNode
parentTreeNode
parentIdTreeNode

Functions

64

Configuration

applyDefaultsstaticBase

Editing

copyModel
getDataModel
removeModel
setModel

Events

Fields

addFieldstaticModel
getModel
processFieldstaticModel
removeFieldstaticModel

Identification

asIdstaticModel
generateIdstaticModel

JSON

toJSONModel

Lifecycle

destroystaticBase

Misc

equalsModel
initClassstaticBase
isOfTypeNamestaticBase
linkModelLink
mixinstaticBase

Other

addIntervalCalendarModel
addIntervalsCalendarModel
calculateDurationMsCalendarModel
calculateEndDateCalendarModel
calculateStartDateCalendarModel
clearIntervalsCalendarModel
isWorkingTimeCalendarModel
skipNonWorkingTimeCalendarModel

Parent & children

appendChildTreeNode
bubbleTreeNode
bubbleWhileTreeNode
containsTreeNode
insertChildTreeNode
isExpandedTreeNode
removeChildTreeNode
traverseTreeNode

Typedefs

1