of Relative Units
open fun <U : Unit<U>?> ofRelativeUnits(relativeMagnitude: Double, unit: Unit<U>): ImmutableMeasure<U>
Creates a new measure in the given unit with a magnitude in terms of that unit.
Return
a new measure
Parameters
<U>
the type of the units of measure
relative Magnitude
the magnitude of the measure
unit
the unit of measure