Reads a duration the way an operator writes one.
A duration such as 30s, 20m, 2h, 250ms, or bare seconds.
30s
20m
2h
250ms
Milliseconds, or null when the text is not a duration.
Reads a duration the way an operator writes one.