public final class MPXJNumberFormat extends DecimalFormat
NumberFormat.Field
FRACTION_FIELD, INTEGER_FIELD
Constructor and Description |
---|
MPXJNumberFormat() |
Modifier and Type | Method and Description |
---|---|
void |
applyPattern(String primaryPattern,
String[] alternativePatterns,
char decimalSeparator,
char groupingSeparator)
This method is used to configure the primary and alternative
format patterns.
|
boolean |
equals(Object obj) |
int |
hashCode() |
Number |
parse(String str,
ParsePosition parsePosition) |
applyLocalizedPattern, applyPattern, clone, format, format, format, formatToCharacterIterator, getCurrency, getDecimalFormatSymbols, getGroupingSize, getMaximumFractionDigits, getMaximumIntegerDigits, getMinimumFractionDigits, getMinimumIntegerDigits, getMultiplier, getNegativePrefix, getNegativeSuffix, getPositivePrefix, getPositiveSuffix, getRoundingMode, isDecimalSeparatorAlwaysShown, isParseBigDecimal, setCurrency, setDecimalFormatSymbols, setDecimalSeparatorAlwaysShown, setGroupingSize, setGroupingUsed, setMaximumFractionDigits, setMaximumIntegerDigits, setMinimumFractionDigits, setMinimumIntegerDigits, setMultiplier, setNegativePrefix, setNegativeSuffix, setParseBigDecimal, setPositivePrefix, setPositiveSuffix, setRoundingMode, toLocalizedPattern, toPattern
format, format, getAvailableLocales, getCurrencyInstance, getCurrencyInstance, getInstance, getInstance, getIntegerInstance, getIntegerInstance, getNumberInstance, getNumberInstance, getPercentInstance, getPercentInstance, isGroupingUsed, isParseIntegerOnly, parse, parseObject, setParseIntegerOnly
format, parseObject
public void applyPattern(String primaryPattern, String[] alternativePatterns, char decimalSeparator, char groupingSeparator)
primaryPattern
- new format patternalternativePatterns
- alternative format patternsdecimalSeparator
- Locale specific decimal separator to replace placeholdergroupingSeparator
- Locale specific grouping separator to replace placeholderpublic Number parse(String str, ParsePosition parsePosition)
parse
in class DecimalFormat
public int hashCode()
hashCode
in class DecimalFormat
public boolean equals(Object obj)
equals
in class DecimalFormat
Copyright © 2000–2024 Packwood Software. All rights reserved.