| Package | Description |
|---|---|
| java.time.format |
Provides classes to print and parse dates and times.
|
| Modifier and Type | Field and Description |
|---|---|
static DecimalStyle |
DecimalStyle.STANDARD
The standard set of non-localized symbols.
|
| Modifier and Type | Method and Description |
|---|---|
DecimalStyle |
DateTimeFormatter.getDecimalStyle()
Gets the decimal style to be used during formatting.
|
static DecimalStyle |
DecimalStyle.of(java.util.Locale locale)
Obtains symbols for the specified locale.
|
static DecimalStyle |
DecimalStyle.ofDefaultLocale()
Obtains symbols for the default locale.
|
DecimalStyle |
DecimalStyle.withDecimalSeparator(char decimalSeparator)
Returns a copy of the info with a new character that represents the decimal point.
|
DecimalStyle |
DecimalStyle.withNegativeSign(char negativeSign)
Returns a copy of the info with a new character that represents the negative sign.
|
DecimalStyle |
DecimalStyle.withPositiveSign(char positiveSign)
Returns a copy of the info with a new character that represents the positive sign.
|
DecimalStyle |
DecimalStyle.withZeroDigit(char zeroDigit)
Returns a copy of the info with a new character that represents zero.
|
| Modifier and Type | Method and Description |
|---|---|
DateTimeFormatter |
DateTimeFormatter.withDecimalStyle(DecimalStyle decimalStyle)
Returns a copy of this formatter with a new decimal style.
|
Copyright © 2014. All Rights Reserved.