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 DecimalFormatPropertiesDecimalFormatProperties.DEFAULTprivate DecimalFormatPropertiesProperties.instanceMethods in com.ibm.icu.impl.number that return DecimalFormatPropertiesModifier and TypeMethodDescriptionprivate DecimalFormatPropertiesDecimalFormatProperties._clear()Sets all properties to their defaults (unset).private DecimalFormatPropertiesDecimalFormatProperties._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 DecimalFormatPropertiesPatternStringParser.parseToProperties(String pattern) static DecimalFormatPropertiesPatternStringParser.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 specifiedCurrencyPluralInfoinstance when formatting currency long names.DecimalFormatProperties.setCurrencyUsage(Currency.CurrencyUsage currencyUsage) Use the specifiedCurrency.CurrencyUsageinstance, 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 theMathContextto 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 DecimalFormatPropertiesDecimalFormatProperties._copyFrom(DecimalFormatProperties other) private booleanDecimalFormatProperties._equals(DecimalFormatProperties other) DecimalFormatProperties.copyFrom(DecimalFormatProperties other) Shallow-copies the properties from the given property bag into this property bag.static GrouperGrouper.forProperties(DecimalFormatProperties properties) Resolve the values in Properties to a Grouper object.static PadderPadder.forProperties(DecimalFormatProperties properties) static AffixPatternProviderPropertiesAffixPatternProvider.forProperties(DecimalFormatProperties properties) static MathContextRoundingUtils.getMathContextOr34Digits(DecimalFormatProperties properties) Gets the user-specified math context out of the property bag.static MathContextRoundingUtils.getMathContextOrUnlimited(DecimalFormatProperties properties) Gets the user-specified math context out of the property bag.static voidPatternStringParser.parseToExistingProperties(String pattern, DecimalFormatProperties properties) static voidPatternStringParser.parseToExistingProperties(String pattern, DecimalFormatProperties properties, int ignoreRounding) Parses a pattern string into an existing property bag.private static voidPatternStringParser.parseToExistingPropertiesImpl(String pattern, DecimalFormatProperties properties, int ignoreRounding) private static voidPatternStringParser.patternInfoToProperties(DecimalFormatProperties properties, PatternStringParser.ParsedPatternInfo patternInfo, int _ignoreRounding) Finalizes the temporary data stored in the ParsedPatternInfo to the Properties.static StringPatternStringUtils.propertiesToPatternString(DecimalFormatProperties properties) Creates a pattern string from a property bag.static ScaleRoundingUtils.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 NumberParserImplNumberParserImpl.createParserFromProperties(DecimalFormatProperties properties, DecimalFormatSymbols symbols, boolean parseCurrency) Creates a parser from the given DecimalFormatProperties.static NumberNumberParserImpl.parseStatic(String input, ParsePosition ppos, DecimalFormatProperties properties, DecimalFormatSymbols symbols) Parses the string without returning a NumberParserImpl.static CurrencyAmountNumberParserImpl.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 UnlocalizedNumberFormatterNumberPropertyMapper.create(DecimalFormatProperties properties, DecimalFormatSymbols symbols) Convenience method to create a NumberFormatter directly from Properties.static UnlocalizedNumberFormatterNumberPropertyMapper.create(DecimalFormatProperties properties, DecimalFormatSymbols symbols, DecimalFormatProperties exportedProperties) Convenience method to create a NumberFormatter directly from Properties.static UnlocalizedNumberFormatterNumberFormatter.fromDecimalFormat(DecimalFormatProperties properties, DecimalFormatSymbols symbols, DecimalFormatProperties exportedProperties) Deprecated.ICU 60 This API is ICU internal only.static MacroPropsNumberPropertyMapper.oldToNew(DecimalFormatProperties properties, DecimalFormatSymbols symbols, DecimalFormatProperties exportedProperties) Creates a newMacroPropsobject based on the content of aDecimalFormatPropertiesobject. -
Uses of DecimalFormatProperties in com.ibm.icu.text
Fields in com.ibm.icu.text declared as DecimalFormatPropertiesModifier and TypeFieldDescription(package private) DecimalFormatPropertiesDecimalFormat.exportedPropertiesThe effective properties as exported from the formatter object.(package private) DecimalFormatPropertiesDecimalFormat.propertiesThe 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 TypeMethodDescriptionvoidDecimalFormat.PropertySetter.set(DecimalFormatProperties props) Deprecated.This API is ICU internal only.