Properties
Functions
Converts the given time duration value expressed in the specified sourceUnit into the specified targetUnit.
Parses a string that represents a duration in a restricted ISO-8601 composite representation and returns the parsed Duration value. Composite representation is a relaxed version of ISO-8601 duration format that supports negative durations and negative values of individual components.
Parses a string that represents a duration in restricted ISO-8601 composite representation and returns the parsed Duration value or null
if the string doesn't represent a duration in the format acceptable by parseIsoString.
Parses a string that represents a duration and returns the parsed Duration value, or null
if the string doesn't represent a duration in any of the supported formats.