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.UnitWidth
MutablePatternModifier.unitWidth
Methods in com.ibm.icu.impl.number with parameters of type NumberFormatter.UnitWidthModifier and TypeMethodDescriptionprivate static LongNameHandler
LongNameHandler.forArbitraryUnit
(ULocale loc, MeasureUnit unit, NumberFormatter.UnitWidth width, String unitDisplayCase, PluralRules rules, MicroPropsGenerator parent) static LongNameHandler
LongNameHandler.forMeasureUnit
(ULocale locale, MeasureUnit unit, NumberFormatter.UnitWidth width, String unitDisplayCase, PluralRules rules, MicroPropsGenerator parent) Construct a localized LongNameHandler for the specified MeasureUnit.static MixedUnitLongNameHandler
MixedUnitLongNameHandler.forMeasureUnit
(ULocale locale, MeasureUnit mixedUnit, NumberFormatter.UnitWidth width, String unitDisplayCase, PluralRules rules, MicroPropsGenerator parent) Construct a localized MixedUnitLongNameHandler for the specified MeasureUnit.static LongNameMultiplexer
LongNameMultiplexer.forMeasureUnits
(ULocale locale, List<MeasureUnit> units, NumberFormatter.UnitWidth width, String unitDisplayCase, PluralRules rules, MicroPropsGenerator parent) private static String
LongNameHandler.getCompoundValue
(String compoundKey, ULocale locale, NumberFormatter.UnitWidth width) (package private) static void
LongNameHandler.getInflectedMeasureData
(String subKey, ULocale locale, NumberFormatter.UnitWidth width, String gender, String caseVariant, String[] outArray) (package private) static void
LongNameHandler.getMeasureData
(ULocale locale, MeasureUnit unit, NumberFormatter.UnitWidth width, String unitDisplayCase, String[] outArray) static String
LongNameHandler.getUnitDisplayName
(ULocale locale, MeasureUnit unit, NumberFormatter.UnitWidth width) private static void
LongNameHandler.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-unitsvoid
MutablePatternModifier.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.UnitWidth
NumberSkeletonImpl.StemToObject.unitWidth
(NumberSkeletonImpl.StemEnum stem) static NumberFormatter.UnitWidth
Returns 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 void
NumberSkeletonImpl.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.UnitWidth
MeasureFormat.FormatWidth.currencyWidth
TheNumberFormatter.UnitWidth
(used for newer NumberFormatter API) that corresponds to this FormatWidth (used for the older APIs) for currencies.(package private) final NumberFormatter.UnitWidth
MeasureFormat.FormatWidth.unitWidth
TheNumberFormatter.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.UnitWidthModifierConstructorDescriptionprivate
FormatWidth
(ListFormatter.Width listWidth, NumberFormatter.UnitWidth unitWidth, NumberFormatter.UnitWidth currencyWidth)