Unit

@RestrictToExtendedFlavor(value = [ExternalScope.LIBRARY_GROUP])
abstract class Unit : UnitBase

Volume units.

Inheritors

Types

Link copied to clipboard
@RestrictToExtendedFlavor(value = [ExternalScope.LIBRARY_GROUP])
object Liters : Volume.Unit

Volume expressed in liters.

Link copied to clipboard
@RestrictToExtendedFlavor(value = [ExternalScope.LIBRARY_GROUP])
object Milliliters : Volume.Unit

Volume expressed in milliliters.

Link copied to clipboard
@RestrictToExtendedFlavor(value = [ExternalScope.LIBRARY_GROUP])
object UsGallons : Volume.Unit

Volume expressed in US gallons.

Properties

Link copied to clipboard
open override val factor: Long

The conversion factor from the internal representation of the quantity to the unit.

Link copied to clipboard
open override val name: String

The name of the unit.