This class provides an event calendar by using a tree set to hold the underlying events.
Checks to see if the calendar is empty
Checks to see if the calendar is not empty
The add method will place the provided JSLEvent into the underlying data structure ensuring the ordering of the events to be processed
Cancels the supplied JSLEvent in the calendar. Canceling does not remove the event from the data structure. It simply indicates that the scheduled event must not be executed.
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