| Modifier and Type | Field and Description |
|---|---|
| private final MicroPropsGenerator | |
| private UnitsRouter |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public List | getOutputUnits()
Returns the list of possible output units, i.e. the full set of preferences, for the localized, usage-specific unit preferences. |
| protected static void | mixedMeasuresToMicros(ComplexUnitsConverter.
Deprecated
as a consequence of
Populates micros.mixedMeasures and modifies quantity, based on the values
in measures.
DecimalQuantity being deprecated.
|
| public MicroProps | processQuantity(DecimalQuantity
The quantity for consideration and optional mutation. quantity)Implements com.
Deprecated
as a consequence of
Obtains the appropriate output value, MeasureUnit and
rounding/precision behaviour from the UnitsRouter.
DecimalQuantity being deprecated.
|
| fParent | back to summary |
|---|---|
| private final MicroPropsGenerator fParent | |
| fUnitsRouter | back to summary |
|---|---|
| private UnitsRouter fUnitsRouter | |
| UsagePrefsHandler | back to summary |
|---|---|
| public UsagePrefsHandler(ULocale locale, MeasureUnit inputUnit, String usage, MicroPropsGenerator parent) | |
| getOutputUnits | back to summary |
|---|---|
| public List Returns the list of possible output units, i.e. the full set of preferences, for the localized, usage-specific unit preferences. The returned pointer should be valid for the lifetime of the UsagePrefsHandler instance. | |
| mixedMeasuresToMicros | back to summary |
|---|---|
| protected static void mixedMeasuresToMicros(ComplexUnitsConverter. Deprecated as a consequence of Populates micros.mixedMeasures and modifies quantity, based on the values in measures. | |
| processQuantity | back to summary |
|---|---|
| public MicroProps processQuantity(DecimalQuantity quantity) Implements com. Deprecated as a consequence of Obtains the appropriate output value, MeasureUnit and rounding/precision behaviour from the UnitsRouter. The output unit is passed on to the LongNameHandler via micros.outputUnit.
| |