Uses of Enum
com.ibm.icu.number.NumberFormatter.UnitWidth
Packages that use NumberFormatter.UnitWidth
-
Uses of NumberFormatter.UnitWidth in com.ibm.icu.impl.number
Fields in com.ibm.icu.impl.number declared as NumberFormatter.UnitWidthModifier and TypeFieldDescriptionMacroProps.unitWidth(package private) NumberFormatter.UnitWidthMutablePatternModifier.unitWidthMethods in com.ibm.icu.impl.number with parameters of type NumberFormatter.UnitWidthModifier and TypeMethodDescriptionprivate static LongNameHandlerLongNameHandler.forArbitraryUnit(ULocale loc, MeasureUnit unit, NumberFormatter.UnitWidth width, String unitDisplayCase, PluralRules rules, MicroPropsGenerator parent) static LongNameHandlerLongNameHandler.forMeasureUnit(ULocale locale, MeasureUnit unit, NumberFormatter.UnitWidth width, String unitDisplayCase, PluralRules rules, MicroPropsGenerator parent) Construct a localized LongNameHandler for the specified MeasureUnit.static MixedUnitLongNameHandlerMixedUnitLongNameHandler.forMeasureUnit(ULocale locale, MeasureUnit mixedUnit, NumberFormatter.UnitWidth width, String unitDisplayCase, PluralRules rules, MicroPropsGenerator parent) Construct a localized MixedUnitLongNameHandler for the specified MeasureUnit.static LongNameMultiplexerLongNameMultiplexer.forMeasureUnits(ULocale locale, List<MeasureUnit> units, NumberFormatter.UnitWidth width, String unitDisplayCase, PluralRules rules, MicroPropsGenerator parent) private static StringLongNameHandler.getCompoundValue(String compoundKey, ULocale locale, NumberFormatter.UnitWidth width) (package private) static voidLongNameHandler.getInflectedMeasureData(String subKey, ULocale locale, NumberFormatter.UnitWidth width, String gender, String caseVariant, String[] outArray) (package private) static voidLongNameHandler.getMeasureData(ULocale locale, MeasureUnit unit, NumberFormatter.UnitWidth width, String unitDisplayCase, String[] outArray) static StringLongNameHandler.getUnitDisplayName(ULocale locale, MeasureUnit unit, NumberFormatter.UnitWidth width) private static voidLongNameHandler.processPatternTimes(MeasureUnitImpl productUnit, ULocale loc, NumberFormatter.UnitWidth width, String caseVariant, String[] outArray) Roughly corresponds to patternTimes(...) in the spec: https://unicode.org/reports/tr35/tr35-general.html#compound-unitsvoidMutablePatternModifier.setSymbols(DecimalFormatSymbols symbols, Currency currency, NumberFormatter.UnitWidth unitWidth, PluralRules rules) Sets locale-specific details that affect the symbols substituted into the pattern string affixes. -
Uses of NumberFormatter.UnitWidth in com.ibm.icu.number
Methods in com.ibm.icu.number that return NumberFormatter.UnitWidthModifier and TypeMethodDescriptionprivate static NumberFormatter.UnitWidthNumberSkeletonImpl.StemToObject.unitWidth(NumberSkeletonImpl.StemEnum stem) static NumberFormatter.UnitWidthReturns the enum constant of this type with the specified name.static NumberFormatter.UnitWidth[]NumberFormatter.UnitWidth.values()Returns an array containing the constants of this enum type, in the order they are declared.Methods in com.ibm.icu.number with parameters of type NumberFormatter.UnitWidthModifier and TypeMethodDescriptionNumberFormatterSettings.unitWidth(NumberFormatter.UnitWidth style) Sets the width of the unit (measure unit or currency).private static voidNumberSkeletonImpl.EnumToStemString.unitWidth(NumberFormatter.UnitWidth value, StringBuilder sb) -
Uses of NumberFormatter.UnitWidth in com.ibm.icu.text
Fields in com.ibm.icu.text declared as NumberFormatter.UnitWidthModifier and TypeFieldDescription(package private) final NumberFormatter.UnitWidthMeasureFormat.FormatWidth.currencyWidthTheNumberFormatter.UnitWidth(used for newer NumberFormatter API) that corresponds to this FormatWidth (used for the older APIs) for currencies.(package private) final NumberFormatter.UnitWidthMeasureFormat.FormatWidth.unitWidthTheNumberFormatter.UnitWidth(used for newer NumberFormatter API) that corresponds to this FormatWidth (used for the older APIs) for all units except currencies.Constructors in com.ibm.icu.text with parameters of type NumberFormatter.UnitWidthModifierConstructorDescriptionprivateFormatWidth(ListFormatter.Width listWidth, NumberFormatter.UnitWidth unitWidth, NumberFormatter.UnitWidth currencyWidth)