Made a generic Range class and switched DateTimeRange to use that.