This class provides an event calendar by using a tree set to hold the underlying events.
Checks to see if the calendar is empty
The add method will place the provided JSLEvent into the underlying data structure ensuring the ordering of the events to be processed
Clears or cancels every event in the data structure. Removes all JSLEvents from the data structure.
Returns the next JSLEvent to be executed. The event is removed from the calendar if it exists
Peeks at the next event without removing it
Returns the number of events in the calendar