Uses of Class
com.ibm.icu.number.NumberFormatter.UnitWidth
-
Packages that use NumberFormatter.UnitWidth Package Description com.ibm.icu.impl.number com.ibm.icu.number com.ibm.icu.text -
-
Uses of NumberFormatter.UnitWidth in com.ibm.icu.impl.number
Fields in com.ibm.icu.impl.number declared as NumberFormatter.UnitWidth Modifier and Type Field Description NumberFormatter.UnitWidth
MacroProps. unitWidth
(package private) NumberFormatter.UnitWidth
MutablePatternModifier. unitWidth
Methods in com.ibm.icu.impl.number with parameters of type NumberFormatter.UnitWidth Modifier and Type Method Description private static LongNameHandler
LongNameHandler. forArbitraryUnit(ULocale loc, MeasureUnit unit, NumberFormatter.UnitWidth width, java.lang.String unitDisplayCase, PluralRules rules, MicroPropsGenerator parent)
static LongNameHandler
LongNameHandler. forMeasureUnit(ULocale locale, MeasureUnit unit, NumberFormatter.UnitWidth width, java.lang.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, java.lang.String unitDisplayCase, PluralRules rules, MicroPropsGenerator parent)
Construct a localized MixedUnitLongNameHandler for the specified MeasureUnit.static LongNameMultiplexer
LongNameMultiplexer. forMeasureUnits(ULocale locale, java.util.List<MeasureUnit> units, NumberFormatter.UnitWidth width, java.lang.String unitDisplayCase, PluralRules rules, MicroPropsGenerator parent)
private static java.lang.String
LongNameHandler. getCompoundValue(java.lang.String compoundKey, ULocale locale, NumberFormatter.UnitWidth width)
(package private) static void
LongNameHandler. getInflectedMeasureData(java.lang.String subKey, ULocale locale, NumberFormatter.UnitWidth width, java.lang.String gender, java.lang.String caseVariant, java.lang.String[] outArray)
(package private) static void
LongNameHandler. getMeasureData(ULocale locale, MeasureUnit unit, NumberFormatter.UnitWidth width, java.lang.String unitDisplayCase, java.lang.String[] outArray)
static java.lang.String
LongNameHandler. getUnitDisplayName(ULocale locale, MeasureUnit unit, NumberFormatter.UnitWidth width)
private static void
LongNameHandler. processPatternTimes(MeasureUnitImpl productUnit, ULocale loc, NumberFormatter.UnitWidth width, java.lang.String caseVariant, java.lang.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.UnitWidth Modifier and Type Method Description private static NumberFormatter.UnitWidth
NumberSkeletonImpl.StemToObject. unitWidth(NumberSkeletonImpl.StemEnum stem)
static NumberFormatter.UnitWidth
NumberFormatter.UnitWidth. valueOf(java.lang.String name)
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.UnitWidth Modifier and Type Method Description T
NumberFormatterSettings. unitWidth(NumberFormatter.UnitWidth style)
Sets the width of the unit (measure unit or currency).private static void
NumberSkeletonImpl.EnumToStemString. unitWidth(NumberFormatter.UnitWidth value, java.lang.StringBuilder sb)
-
Uses of NumberFormatter.UnitWidth in com.ibm.icu.text
Fields in com.ibm.icu.text declared as NumberFormatter.UnitWidth Modifier and Type Field Description (package private) 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) 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.UnitWidth Constructor Description FormatWidth(ListFormatter.Width listWidth, NumberFormatter.UnitWidth unitWidth, NumberFormatter.UnitWidth currencyWidth)
-