Convert

Duration.Convert method

Converts Duration object to another duration with specified time units.

public Duration Convert(TimeUnitType timeUnitType)
Parameter Type Description
timeUnitType TimeUnitType the specified time unit type.

Return Value

returns new duration with the specified unit type.

See Also