class Pressure : Comparable


Represents a unit of pressure. Supported units:

Summary

Public companion functions

Pressure

Creates Pressure with the specified value in millimeters of Mercury (mmHg).

Public functions

open operator Int
open operator Boolean
equals(other: Any?)
open Int
open String

Public properties

Double

Returns the pressure in millimeters of Mercury (mmHg).

Public companion functions

millimetersOfMercury

Added in 1.1.0-alpha10
fun millimetersOfMercury(value: Double): Pressure

Creates Pressure with the specified value in millimeters of Mercury (mmHg).

Public functions

compareTo

Added in 1.1.0-alpha10
open operator fun compareTo(other: Pressure): Int

equals

open operator fun equals(other: Any?): Boolean

hashCode

open fun hashCode(): Int

toString

open fun toString(): String

Public properties

inMillimetersOfMercury

Added in 1.1.0-alpha10
val inMillimetersOfMercuryDouble

Returns the pressure in millimeters of Mercury (mmHg).