Temperature

@Serializable
class Temperature : Comparable<Temperature>

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
@get:JvmName(name = "getCelsius")
val inCelsius: Double

Returns the mass in kilograms.

Link copied to clipboard
@get:JvmName(name = "getFahrenheit")
val inFahrenheit: Double

Returns the mass in milligrams.

Functions

Link copied to clipboard
open operator override fun compareTo(other: Temperature): Int
Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
open override fun toString(): String