datetime/duration_parse_utils library

Functions

parseDuration(String input) Duration?
Parses duration string like "1.5h", "90m", "2d 3h 30m".