Duration Constructors
Here are the Duration constructors.
| Constructor | Description |
|---|---|
| Duration(Long, Map | Create a Duration from time in milliseconds and different units of time |
| Duration(Map | Create a Duration from different units of time |
| Duration(Integer, String) | Create a Duration from some units of time |
| Duration(Long) | Create a Duration from time in milliseconds |