Parses a duration string or number into a number in the specified unit.
The parsed duration in the specified unit.
Parses a duration string or number into a number in the specified unit.