Constructors

Properties

durationDays: number

Convenience: total duration covered by the schedule, in days.

endDate: Date

Latest endDate across all tasks — the timeline's upper bound.

milestones: readonly ScheduleTask[]

Just the milestone tasks (zero-duration or milestone: true). Returned in startDate order so UI scrubbers can plot them as chevrons along the timeline.

startDate: Date

Earliest startDate across all tasks — the timeline's lower bound.

tasks: Map<string, ScheduleTask>

Tasks indexed by their id for O(1) lookup.

tasksList: readonly ScheduleTask[]

Tasks listed in startDate order — the order the SchedulePlayer iterates for state classification.

Methods