Added methods for retrieving the upcoming and next past event.
Added a print method for calendar events; some extended logic for
trading constraints.