add Item
fun <T> addItem(startTime: Double = 0.0, duration: Double, priority: Int = itemStartEventPriority, datum: T? = null): Schedule.ScheduleItem<T>
Adds an item to the schedule
Return
the created ScheduleItem
Parameters
start Time
the time past the start of the schedule to start the item
duration
the duration of the item
priority
the priority, (among items) if items start at the same time
datum
a message or datum to attach to the item