#5 Added API to find events for the given time range.