@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 |
public abstract Class<? extends Annotation> quantity
public abstract Prefix prefix