Parsing a duration from a string.
Use the from_str function to parse a Duration from a string.
from_str
Duration