Package | Description |
---|---|
com.ibm.icu.text |
Extensions and enhancements to java.text to support unicode transforms, UnicodeSet, surrogate char utilities, UCA collation, normalization, break iteration (rule and dictionary based), enhanced number format, international string searching, and arabic shaping.
|
Modifier and Type | Method and Description |
---|---|
DecimalFormatSymbols |
DecimalFormat.getDecimalFormatSymbols()
Returns a copy of the decimal format symbols used by this format.
|
static DecimalFormatSymbols |
DecimalFormatSymbols.getInstance()
Returns a DecimalFormatSymbols instance for the default locale.
|
static DecimalFormatSymbols |
DecimalFormatSymbols.getInstance(Locale locale)
Returns a DecimalFormatSymbols instance for the given locale.
|
static DecimalFormatSymbols |
DecimalFormatSymbols.getInstance(ULocale locale)
Returns a DecimalFormatSymbols instance for the given locale.
|
Modifier and Type | Method and Description |
---|---|
void |
DecimalFormat.setDecimalFormatSymbols(DecimalFormatSymbols newSymbols)
Sets the decimal format symbols used by this format.
|
void |
RuleBasedNumberFormat.setDecimalFormatSymbols(DecimalFormatSymbols newSymbols)
Sets the decimal format symbols used by this formatter.
|
Constructor and Description |
---|
CompactDecimalFormat(String pattern,
DecimalFormatSymbols formatSymbols,
String[] prefix,
String[] suffix,
long[] divisor,
Collection<String> debugCreationErrors,
CompactDecimalFormat.CompactStyle style,
String[] currencyAffixes)
Create a short number "from scratch".
|
DecimalFormat(String pattern,
DecimalFormatSymbols symbols)
Creates a DecimalFormat from the given pattern and symbols.
|
DecimalFormat(String pattern,
DecimalFormatSymbols symbols,
CurrencyPluralInfo infoInput,
int style)
Creates a DecimalFormat from the given pattern, symbols, information used for
currency plural format, and format style.
|
Copyright (c) 2012 IBM Corporation and others.