ofNanos

fun ofNanos(value: Long): Duration

Returns a Duration representing the specified value number of nanoseconds.