Companion

object Companion

Properties

Link copied to clipboard
val ZERO: Speed

The Speed of 0.

Functions

Link copied to clipboard

Creates a Speed instance from the given value in kilometers per hour.

Link copied to clipboard
fun metersPerHour(value: Int): Speed
fun metersPerHour(value: Long): Speed

Creates a Speed instance from the given value in meters per hour.

Link copied to clipboard

Creates a Speed instance from the given value in meters per second.

Link copied to clipboard
fun milesPerHour(value: Int): Speed
fun milesPerHour(value: Long): Speed

Creates a Speed instance from the given value in miles per hour.