UnitOfMeasure
A Unit of Measure is used to define the scale of a quantity measurement
A Unit of Measure is used to define the scale of a quantity measurement
Each Quantity Dimension must include at least one Unit of Measure, and one and only one Primary. Other units of measure are defined with conversionFactors relative to the Primary.
- Type Params
- A
The type of Quantity being measured
- Authors
garyKeorkunian
- Since
0.1
Value members
Abstract methods
Factory method for creating instances of a Quantity in this UnitOfMeasure
Factory method for creating instances of a Quantity in this UnitOfMeasure
- Value Params
- n
N - the Quantity's value in terms of this UnitOfMeasure
Defines a signature for converting a quantity from this UOM to the Value UOM
Defines a signature for converting a quantity from this UOM to the Value UOM
Defines a signature for converting a quantity to this UOM from the Value UOM
Defines a signature for converting a quantity to this UOM from the Value UOM
Concrete methods
Applies the converterFrom method to a value
Applies the converterFrom method to a value
- Type Params
- N
Type
- Value Params
- n
N value in terms of this Unit
- num
Numeric[N]
Applies the converterTo method to a value
Applies the converterTo method to a value
- Type Params
- N
Type
- Value Params
- n
N value in terms of the ValueUnit
- num
Numeric[N]