Uses of Class
com.ibm.icu.impl.number.DecimalFormatProperties
Packages that use DecimalFormatProperties
Package
Description
-
Uses of DecimalFormatProperties in com.ibm.icu.impl.number
Fields in com.ibm.icu.impl.number declared as DecimalFormatPropertiesModifier and TypeFieldDescriptionprivate static final DecimalFormatProperties
DecimalFormatProperties.DEFAULT
private DecimalFormatProperties
Properties.instance
Methods in com.ibm.icu.impl.number that return DecimalFormatPropertiesModifier and TypeMethodDescriptionprivate DecimalFormatProperties
DecimalFormatProperties._clear()
Sets all properties to their defaults (unset).private DecimalFormatProperties
DecimalFormatProperties._copyFrom
(DecimalFormatProperties other) DecimalFormatProperties.clear()
DecimalFormatProperties.clone()
Creates and returns a shallow copy of the property bag.DecimalFormatProperties.copyFrom
(DecimalFormatProperties other) Shallow-copies the properties from the given property bag into this property bag.Properties.getInstance()
static DecimalFormatProperties
PatternStringParser.parseToProperties
(String pattern) static DecimalFormatProperties
PatternStringParser.parseToProperties
(String pattern, int ignoreRounding) Parses a pattern string into a new property bag.Specifies custom data to be used instead of CLDR data when constructing a CompactDecimalFormat.DecimalFormatProperties.setCompactStyle
(CompactDecimalFormat.CompactStyle compactStyle) Use compact decimal formatting with the specifiedCompactDecimalFormat.CompactStyle
.DecimalFormatProperties.setCurrency
(Currency currency) Use the specified currency to substitute currency placeholders ('ยค') in the pattern string.DecimalFormatProperties.setCurrencyAsDecimal
(boolean currencyAsDecimal) Sets whether the currency symbol should replace the decimal separator.DecimalFormatProperties.setCurrencyPluralInfo
(CurrencyPluralInfo currencyPluralInfo) Use the specifiedCurrencyPluralInfo
instance when formatting currency long names.DecimalFormatProperties.setCurrencyUsage
(Currency.CurrencyUsage currencyUsage) Use the specifiedCurrency.CurrencyUsage
instance, which provides default rounding rules for the currency in two styles, CurrencyUsage.CASH and CurrencyUsage.STANDARD.DecimalFormatProperties.setDecimalPatternMatchRequired
(boolean decimalPatternMatchRequired) PARSING: Whether to require that the presence of decimal point matches the pattern.DecimalFormatProperties.setDecimalSeparatorAlwaysShown
(boolean alwaysShowDecimal) Sets whether to always show the decimal point, even if the number doesn't require one.DecimalFormatProperties.setExponentSignAlwaysShown
(boolean exponentSignAlwaysShown) Sets whether to show the plus sign in the exponent part of numbers with a zero or positive exponent.DecimalFormatProperties.setFormatWidth
(int paddingWidth) Sets the minimum width of the string output by the formatting pipeline.DecimalFormatProperties.setGroupingSize
(int groupingSize) Sets the number of digits between grouping separators.DecimalFormatProperties.setGroupingUsed
(boolean groupingUsed) Sets whether to enable grouping when formatting.DecimalFormatProperties.setMagnitudeMultiplier
(int magnitudeMultiplier) Multiply all numbers by this power of ten before formatting.DecimalFormatProperties.setMathContext
(MathContext mathContext) Sets theMathContext
to be used during math and rounding operations.DecimalFormatProperties.setMaximumFractionDigits
(int maximumFractionDigits) Sets the maximum number of digits to display after the decimal point.DecimalFormatProperties.setMaximumIntegerDigits
(int maximumIntegerDigits) Sets the maximum number of digits to display before the decimal point.DecimalFormatProperties.setMaximumSignificantDigits
(int maximumSignificantDigits) Sets the maximum number of significant digits to display.DecimalFormatProperties.setMinimumExponentDigits
(int minimumExponentDigits) Sets the minimum number of digits to display in the exponent.DecimalFormatProperties.setMinimumFractionDigits
(int minimumFractionDigits) Sets the minimum number of digits to display after the decimal point.DecimalFormatProperties.setMinimumGroupingDigits
(int minimumGroupingDigits) Sets the minimum number of digits required to be beyond the first grouping separator in order to enable grouping.DecimalFormatProperties.setMinimumIntegerDigits
(int minimumIntegerDigits) Sets the minimum number of digits to display before the decimal point.DecimalFormatProperties.setMinimumSignificantDigits
(int minimumSignificantDigits) Sets the minimum number of significant digits to display.DecimalFormatProperties.setMultiplier
(BigDecimal multiplier) Multiply all numbers by this amount before formatting.DecimalFormatProperties.setNegativePrefix
(String negativePrefix) Sets the prefix to prepend to negative numbers.DecimalFormatProperties.setNegativePrefixPattern
(String negativePrefixPattern) Sets the prefix to prepend to negative numbers.DecimalFormatProperties.setNegativeSuffix
(String negativeSuffix) Sets the suffix to append to negative numbers.DecimalFormatProperties.setNegativeSuffixPattern
(String negativeSuffixPattern) Sets the suffix to append to negative numbers.DecimalFormatProperties.setPadPosition
(Padder.PadPosition paddingLocation) Sets the location where the padding string is to be inserted to maintain the padding width: one of BEFORE_PREFIX, AFTER_PREFIX, BEFORE_SUFFIX, or AFTER_SUFFIX.DecimalFormatProperties.setPadString
(String paddingString) Sets the string used for padding.DecimalFormatProperties.setParseCaseSensitive
(boolean parseCaseSensitive) Whether to require cases to match when parsing strings; default is true.DecimalFormatProperties.setParseIntegerOnly
(boolean parseIntegerOnly) Whether to ignore the fractional part of numbers.DecimalFormatProperties.setParseMode
(DecimalFormatProperties.ParseMode parseMode) Controls certain rules for how strict this parser is when reading strings.DecimalFormatProperties.setParseNoExponent
(boolean parseNoExponent) Whether to ignore the exponential part of numbers.DecimalFormatProperties.setParseToBigDecimal
(boolean parseToBigDecimal) Whether to always return a BigDecimal from parse methods.DecimalFormatProperties.setPluralRules
(PluralRules pluralRules) Sets the PluralRules object to use instead of the default for the locale.DecimalFormatProperties.setPositivePrefix
(String positivePrefix) Sets the prefix to prepend to positive numbers.DecimalFormatProperties.setPositivePrefixPattern
(String positivePrefixPattern) Sets the prefix to prepend to positive numbers.DecimalFormatProperties.setPositiveSuffix
(String positiveSuffix) Sets the suffix to append to positive numbers.DecimalFormatProperties.setPositiveSuffixPattern
(String positiveSuffixPattern) Sets the suffix to append to positive numbers.DecimalFormatProperties.setRoundingIncrement
(BigDecimal roundingIncrement) Sets the increment to which to round numbers.DecimalFormatProperties.setRoundingMode
(RoundingMode roundingMode) Sets the rounding mode, which determines under which conditions extra decimal places are rounded either up or down.DecimalFormatProperties.setSecondaryGroupingSize
(int secondaryGroupingSize) Sets the number of digits between grouping separators higher than the least-significant grouping separator.DecimalFormatProperties.setSignAlwaysShown
(boolean signAlwaysShown) Sets whether to always display of a plus sign on positive numbers.Methods in com.ibm.icu.impl.number with parameters of type DecimalFormatPropertiesModifier and TypeMethodDescriptionprivate DecimalFormatProperties
DecimalFormatProperties._copyFrom
(DecimalFormatProperties other) private boolean
DecimalFormatProperties._equals
(DecimalFormatProperties other) DecimalFormatProperties.copyFrom
(DecimalFormatProperties other) Shallow-copies the properties from the given property bag into this property bag.static Grouper
Grouper.forProperties
(DecimalFormatProperties properties) Resolve the values in Properties to a Grouper object.static Padder
Padder.forProperties
(DecimalFormatProperties properties) static AffixPatternProvider
PropertiesAffixPatternProvider.forProperties
(DecimalFormatProperties properties) static MathContext
RoundingUtils.getMathContextOr34Digits
(DecimalFormatProperties properties) Gets the user-specified math context out of the property bag.static MathContext
RoundingUtils.getMathContextOrUnlimited
(DecimalFormatProperties properties) Gets the user-specified math context out of the property bag.static void
PatternStringParser.parseToExistingProperties
(String pattern, DecimalFormatProperties properties) static void
PatternStringParser.parseToExistingProperties
(String pattern, DecimalFormatProperties properties, int ignoreRounding) Parses a pattern string into an existing property bag.private static void
PatternStringParser.parseToExistingPropertiesImpl
(String pattern, DecimalFormatProperties properties, int ignoreRounding) private static void
PatternStringParser.patternInfoToProperties
(DecimalFormatProperties properties, PatternStringParser.ParsedPatternInfo patternInfo, int _ignoreRounding) Finalizes the temporary data stored in the ParsedPatternInfo to the Properties.static String
PatternStringUtils.propertiesToPatternString
(DecimalFormatProperties properties) Creates a pattern string from a property bag.static Scale
RoundingUtils.scaleFromProperties
(DecimalFormatProperties properties) Constructors in com.ibm.icu.impl.number with parameters of type DecimalFormatPropertiesModifierConstructorDescriptionCurrencyPluralInfoAffixProvider
(CurrencyPluralInfo cpi, DecimalFormatProperties properties) (package private)
-
Uses of DecimalFormatProperties in com.ibm.icu.impl.number.parse
Methods in com.ibm.icu.impl.number.parse with parameters of type DecimalFormatPropertiesModifier and TypeMethodDescriptionstatic NumberParserImpl
NumberParserImpl.createParserFromProperties
(DecimalFormatProperties properties, DecimalFormatSymbols symbols, boolean parseCurrency) Creates a parser from the given DecimalFormatProperties.static Number
NumberParserImpl.parseStatic
(String input, ParsePosition ppos, DecimalFormatProperties properties, DecimalFormatSymbols symbols) Parses the string without returning a NumberParserImpl.static CurrencyAmount
NumberParserImpl.parseStaticCurrency
(String input, ParsePosition ppos, DecimalFormatProperties properties, DecimalFormatSymbols symbols) Parses the string without returning a NumberParserImpl. -
Uses of DecimalFormatProperties in com.ibm.icu.number
Methods in com.ibm.icu.number with parameters of type DecimalFormatPropertiesModifier and TypeMethodDescriptionstatic UnlocalizedNumberFormatter
NumberPropertyMapper.create
(DecimalFormatProperties properties, DecimalFormatSymbols symbols) Convenience method to create a NumberFormatter directly from Properties.static UnlocalizedNumberFormatter
NumberPropertyMapper.create
(DecimalFormatProperties properties, DecimalFormatSymbols symbols, DecimalFormatProperties exportedProperties) Convenience method to create a NumberFormatter directly from Properties.static UnlocalizedNumberFormatter
NumberFormatter.fromDecimalFormat
(DecimalFormatProperties properties, DecimalFormatSymbols symbols, DecimalFormatProperties exportedProperties) Deprecated.ICU 60 This API is ICU internal only.static MacroProps
NumberPropertyMapper.oldToNew
(DecimalFormatProperties properties, DecimalFormatSymbols symbols, DecimalFormatProperties exportedProperties) Creates a newMacroProps
object based on the content of aDecimalFormatProperties
object. -
Uses of DecimalFormatProperties in com.ibm.icu.text
Fields in com.ibm.icu.text declared as DecimalFormatPropertiesModifier and TypeFieldDescription(package private) DecimalFormatProperties
DecimalFormat.exportedProperties
The effective properties as exported from the formatter object.(package private) DecimalFormatProperties
DecimalFormat.properties
The property bag corresponding to user-specified settings and settings from the pattern string.Methods in com.ibm.icu.text with parameters of type DecimalFormatPropertiesModifier and TypeMethodDescriptionvoid
DecimalFormat.PropertySetter.set
(DecimalFormatProperties props) Deprecated.This API is ICU internal only.