time-ranges
Parsing and validation of time range expressions.
Parse a relative time range
Validates the start and end of a time range (each an ISO timestamp or a relative expression such as now-1d or now/M) and resolves them to absolute instants in the given time zone. Returns the original values plus the parsed absolute start/end, with per-field errors for invalid dates or a start after the end.