kilometers

fun kilometers(value: Int): Distance
fun kilometers(value: Long): Distance
fun kilometers(value: Double): Distance

Creates a Distance instance from the given value in kilometers.