add Item
fun addItem(startTime: Double, duration: Double, name: String = "Item:", priority: Int = itemStartEventPriority, message: String? = null, datum: Double? = null): Schedule.ScheduleItem
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
name
the unique name of the item on the schedule
priority
the priority, (among items) if items start at the same time
message
a message to attach to the item
datum
a datum to attach to the item
Adds the item to the schedule
Parameters
schedule Item Data
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