@Documented @Retention(value=RUNTIME) public @interface UnitsMultiple
TODO: add support for factors and more general formulas? E.g. it would be cool if the relation hour → minute and Fahrenheit → Celsius could be expressed.
Modifier and Type | Required Element and Description |
---|---|
Class<? extends Annotation> |
quantity
Returns the base unit to use.
|
public abstract Class<? extends Annotation> quantity
public abstract Prefix prefix