ofMilliseconds

fun ofMilliseconds(value: Long): Duration

Returns a Duration representing the specified value number of milliseconds.