Parse a string as a duration.
string to parse
a Duration
TimeParseException if unable to parse the string.
auto d = parseDuration("1 hours 2 minutes");
See Implementation
Parse a string as a duration.