herschel.share.unit.converter
public interface UnitFormat
| Modifier and Type | Method and Description |
|---|---|
double |
fromMainFormat(double value,
java.lang.Object... args)
Converts the given value, which is expressed in the main format, in terms of the calling format.
|
Unit<?> |
getUnitSI()
Returns the corresponding SI unit of this format.
|
double |
toMainFormat(double value,
java.lang.Object... args)
Converts the given value, which is expressed in the calling format, to the main format.
|
double toMainFormat(double value,
java.lang.Object... args)
value - Value to convertargs - Extra arguments for the conversiondouble fromMainFormat(double value,
java.lang.Object... args)
value - Value to convertargs - Extra arguments for the conversionUnit<?> getUnitSI()