Uses of Class
com.ibm.icu.impl.number.MicroProps
Packages that use MicroProps
-
Uses of MicroProps in com.ibm.icu.impl.number
Methods in com.ibm.icu.impl.number that return MicroPropsModifier and TypeMethodDescriptionLongNameHandler.processQuantity(DecimalQuantity quantity) LongNameMultiplexer.processQuantity(DecimalQuantity quantity) MicroProps.processQuantity(DecimalQuantity quantity) As MicroProps is the "base instance", this implementation ofMircoPropsGenerator.processQuantity()just ensures that the outputmicrosis correctly initialized.MicroPropsGenerator.processQuantity(DecimalQuantity quantity) Considers the givenDecimalQuantity, optionally mutates it, and returns aMicroProps.MixedUnitLongNameHandler.processQuantity(DecimalQuantity quantity) Produces a plural-appropriate Modifier for a mixed unit:quantityis taken as the final smallest unit, while the larger unit values must be provided bymicros.mixedMeasures, micros being the MicroProps instance returned by the parent.MultiplierFormatHandler.processQuantity(DecimalQuantity quantity) MutablePatternModifier.ImmutablePatternModifier.processQuantity(DecimalQuantity quantity) MutablePatternModifier.processQuantity(DecimalQuantity fq) UnitConversionHandler.processQuantity(DecimalQuantity quantity) Obtains the appropriate output values from the Unit Converter.UsagePrefsHandler.processQuantity(DecimalQuantity quantity) Obtains the appropriate output value, MeasureUnit and rounding/precision behaviour from the UnitsRouter.LongNameHandler.processQuantityWithMicros(DecimalQuantity quantity, MicroProps micros) Produces a plural-appropriate Modifier for a unit:quantityis taken as the final smallest unit, while the larger unit values must be provided viamicros.mixedMeasures.LongNameMultiplexer.ParentlessMicroPropsGenerator.processQuantityWithMicros(DecimalQuantity quantity, MicroProps micros) MixedUnitLongNameHandler.processQuantityWithMicros(DecimalQuantity quantity, MicroProps micros) Produces a plural-appropriate Modifier for a mixed unit:quantityis taken as the final smallest unit, while the larger unit values must be provided viamicros.mixedMeasures.Methods in com.ibm.icu.impl.number with parameters of type MicroPropsModifier and TypeMethodDescriptionvoidMutablePatternModifier.ImmutablePatternModifier.applyToMicros(MicroProps micros, DecimalQuantity quantity) private ModifierMixedUnitLongNameHandler.getMixedUnitModifier(DecimalQuantity quantity, MicroProps micros) For a mixed unit, returns a Modifier that takes only one parameter: the smallest and final unit of the set.protected static voidUsagePrefsHandler.mixedMeasuresToMicros(ComplexUnitsConverter.ComplexConverterResult complexConverterResult, DecimalQuantity quantity, MicroProps outMicros) Populates micros.mixedMeasures and modifies quantity, based on the values in measures.voidMicroPropsMutator.mutateMicros(MicroProps micros, T value) LongNameHandler.processQuantityWithMicros(DecimalQuantity quantity, MicroProps micros) Produces a plural-appropriate Modifier for a unit:quantityis taken as the final smallest unit, while the larger unit values must be provided viamicros.mixedMeasures.LongNameMultiplexer.ParentlessMicroPropsGenerator.processQuantityWithMicros(DecimalQuantity quantity, MicroProps micros) MixedUnitLongNameHandler.processQuantityWithMicros(DecimalQuantity quantity, MicroProps micros) Produces a plural-appropriate Modifier for a mixed unit:quantityis taken as the final smallest unit, while the larger unit values must be provided viamicros.mixedMeasures. -
Uses of MicroProps in com.ibm.icu.impl.units
Methods in com.ibm.icu.impl.units with parameters of type MicroPropsModifier and TypeMethodDescriptionUnitsRouter.route(BigDecimal quantity, MicroProps micros) If micros.rounder is a BogusRounder, this function replaces it with a valid one. -
Uses of MicroProps in com.ibm.icu.number
Fields in com.ibm.icu.number declared as MicroPropsMethods in com.ibm.icu.number that return MicroPropsModifier and TypeMethodDescriptionNumberFormatterImpl.format(DecimalQuantity inValue, FormattedStringBuilder outString) Evaluates the "safe" MicroPropsGenerator created by "fromMacros".LocalizedNumberFormatter.formatImpl(DecimalQuantity fq, FormattedStringBuilder string) Deprecated.ICU 60 This API is ICU internal only.LocalizedNumberFormatter.formatImpl(DecimalQuantity fq, MeasureUnit unit, FormattedStringBuilder string) Deprecated.ICU 67 This API is ICU internal only.static MicroPropsNumberFormatterImpl.formatStatic(MacroProps macros, DecimalQuantity inValue, FormattedStringBuilder outString) Builds and evaluates an "unsafe" MicroPropsGenerator, which is cheaper but can be used only once.NumberFormatterImpl.getRawMicroProps()NumberFormatterImpl.preProcess(DecimalQuantity inValue) Like format(), but saves the result into an output MicroProps without additional processing.private static MicroPropsNumberFormatterImpl.preProcessUnsafe(MacroProps macros, DecimalQuantity inValue) CompactNotation.CompactHandler.processQuantity(DecimalQuantity quantity) ScientificNotation.ScientificHandler.processQuantity(DecimalQuantity quantity) Methods in com.ibm.icu.number with parameters of type MicroPropsModifier and TypeMethodDescriptionprivate voidNumberRangeFormatterImpl.formatApproximately(DecimalQuantity quantity1, DecimalQuantity quantity2, FormattedStringBuilder string, MicroProps micros1, MicroProps micros2) private voidNumberRangeFormatterImpl.formatRange(DecimalQuantity quantity1, DecimalQuantity quantity2, FormattedStringBuilder string, MicroProps micros1, MicroProps micros2) private voidNumberRangeFormatterImpl.formatSingleValue(DecimalQuantity quantity1, DecimalQuantity quantity2, FormattedStringBuilder string, MicroProps micros1, MicroProps micros2) private static MicroPropsGeneratorNumberFormatterImpl.macrosToMicroGenerator(MacroProps macros, MicroProps micros, boolean safe) Synthesizes the MacroProps into a MicroPropsGenerator.static intNumberFormatterImpl.writeAffixes(MicroProps micros, FormattedStringBuilder string, int start, int end) Adds the affixes.private static intNumberFormatterImpl.writeFractionDigits(MicroProps micros, DecimalQuantity quantity, FormattedStringBuilder string, int index) private static intNumberFormatterImpl.writeIntegerDigits(MicroProps micros, DecimalQuantity quantity, FormattedStringBuilder string, int index) static intNumberFormatterImpl.writeNumber(MicroProps micros, DecimalQuantity quantity, FormattedStringBuilder string, int index) Synthesizes the output string from a MicroProps and DecimalQuantity.