Parse rangestr to a TimeRange.
rangestr
a range string to parse
location to hold the TimeRange result
OK on success.