Package-level declarations
Types
Link copied to clipboard
A type of unit that corresponds to raw values and not any physical dimension, such as percentage.
Link copied to clipboard
A measure holds the magnitude and unit of some dimension, such as distance, time, or speed. An immutable measure is immutable and type safe, making it easy to use in concurrent situations and gives compile-time safety. Two measures with the same unit and magnitude are effectively equivalent objects.
Link copied to clipboard
Link copied to clipboard
Unit of temperature dimension.
Link copied to clipboard
A function that accepts a single
double
and returns a double
result.Link copied to clipboard
open class Unit<U : Unit<U>>(baseUnit: U?, toBaseConverter: UnaryFunction, fromBaseConverter: UnaryFunction, name: String, symbol: String)
Unit of measurement that defines a quantity, such as grams, meters, or seconds.
Link copied to clipboard
Builder used for easily deriving new units from existing ones.