Added datetime-in-range functionality to TimeRange module