
## Convert {#convert}

Converts Duration object to another duration with specified time units.

**Returns:** returns new duration with the specified unit type.

```cpp
Convert(TimeUnitType timeUnitType)
```

| Parameter | Description |
| --- | --- |
| timeUnitType | the specified time unit type. |

