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
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.
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
Serialize this
to JSON
combine all groups
a computed object that's updated by the computeSchedule
method,
used by ClassList for rendering purposes
Generated using TypeDoc
A generated schedule's All can never contain -1 (Any Section)