Construct a Duration from a given number of milliseconds.
If a negative value is provided.
Duration corresponding to the provided value.
Number of milliseconds
Generated using TypeDoc
Construct a Duration from a given number of milliseconds.
Throws
If a negative value is provided.
Returns
Duration corresponding to the provided value.