keep track of used colors to avoid color collision
the index of the currently selected separator (in dateSeparators
)
The separator of sections in different time periods, representing different end times of sections. Elements are dates in milliseconds Example:
[1567457860885, 1567458860885]
computed based on this.All
by computeSchedule
total credits stored in this schedule, computed based on this.All
add an event to this schedule
returns if an "All" equals to another
another "All"
check if the section should be rendered given the current dataSelector
clean the computed properties of the schedule. They can be recovered by calling the
computeSchedule method
Compute the schedule view based on this.All
and this.preview
.
If there is a pending compute task, remove that pending task.
if true, synchronously execute this function, otherwise use setTimeout
the delay of setTimeout, in milliseconds
need to be called before computeSchedule
if the All
property is updated.
get a copy of this schedule
the group index corresponding to the given section
Check whether the given key exists in the Schedule.
(default to true) if true, only returns true if the course/event with the given key is rendered
returns whether a given section exists in this schedule (All)
highlight a course, if it exists on the schedule no re-render is needed.
whether the given course has Any Section
selected
true if none of the sections of this course is selected
whether multiple groups exist for a given course
whether some of the sections selected corresponding to the given course key have invalid meeting time
temporarily add a new section to the schedule need to re-render the schedule
add some random event to the schedule. For testing purposes only
Remove a course (and all its sections) from the schedule
Serialize this
to JSON
combine all groups
Update a section in the schedule
whether to remove the key if the set of sections is empty
whether to recompute the schedule after update
instantiate a Schedule
object from its JSON representation.
the computeSchedule
method will not be invoked after instantiation
NotiMsg, whose level might be one of the following
a computed object that's updated by the computeSchedule
method,
used by ClassList for rendering purposes
Generated using TypeDoc
ScheduleAll