milliseconds

fun milliseconds(value: Int): Duration
fun milliseconds(value: Long): Duration
fun milliseconds(value: Double): Duration

Creates a Duration instance from the given value in milliseconds.