addItem

abstract fun addItem(scheduleItemData: ScheduleItemData): Schedule.ScheduleItem

Adds the item to the schedule

Parameters

scheduleItemData

the item to add. The item's end time must be less than or equal to the schedule's initial start time plus the schedule length