Lift a raw value into a unit quantity
the desired unit type
a Quantity with given value and unit type
val distance = (1.0).withUnit[Meter]
Lift a raw value into a delta-unit quantity
base unit to anchor with
a DeltaQuantity with given value and unit type
val date = (1.0).withDeltaUnit[Day, Second]