软件包 | 描述 |
---|---|
java.text |
提供用于处理独立于自然语言的方式处理文本、日期、数字和消息的类和接口。
|
java.text.spi |
在java.text包类服务提供程序类。
|
Modifier and Type | Method and Description |
---|---|
DecimalFormatSymbols |
DecimalFormat.getDecimalFormatSymbols()
返回一个十进制格式符号的副本,这通常不会由程序员或用户更改。
|
static DecimalFormatSymbols |
DecimalFormatSymbols.getInstance()
获取默认区域设置的
DecimalFormatSymbols 实例。
|
static DecimalFormatSymbols |
DecimalFormatSymbols.getInstance(Locale locale)
获取指定区域的
DecimalFormatSymbols 实例。
|
Modifier and Type | Method and Description |
---|---|
void |
DecimalFormat.setDecimalFormatSymbols(DecimalFormatSymbols newSymbols)
设置十进制格式符号,一般不由程序员或用户更改。
|
Constructor and Description |
---|
DecimalFormat(String pattern, DecimalFormatSymbols symbols)
创建一个使用给定的图案和符号DecimalFormat。
|
Modifier and Type | Method and Description |
---|---|
abstract DecimalFormatSymbols |
DecimalFormatSymbolsProvider.getInstance(Locale locale)
返回指定区域设置一个新的
DecimalFormatSymbols 实例。
|
Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2014, Oracle and/or its affiliates. All rights reserved.