Added more convenience methods for time intervals.