RestoreEvents:
PROCEDURE [ from, to:
GMT, options: Options ← NoOptions, group: Group ←
NIL, key: Event ←
NIL]
RETURNS [ evList: EventList];
returns the event tuples falling in the given time interval [ from..to].
This includes the repeated occurrences of a repeated event that fall into the interval
if 'options' include 'ExpandRepetition'. Otherwise, only the first occurrence of a
repeated event which falls into the given time interval is returned.
If 'All' is set in 'options', also return the events that have been "forgotten".
If group # NIL and key = NIL, return only events that are in the specified group.
If key # NIL, then return a list that either includes only one element
or the expanded repetions if options are set properly. The 'group' argument is
ignored if key # NIL. If 'Reminders' is set, returns only the events that have
the reminder attribute TRUE.
If it is not the owner of the data base who is accessing it, some fields of the
returned tuples are blanked out...( Text, Message, Place)
raises Error[ NullInterval], Error[ BadInterval], Error[ NoSuchEvent]