TimeRange updated to accept TimeRange objects.