Package | Description |
---|---|
java.time.format |
Provides classes to print and parse dates and times.
|
Modifier and Type | Field and Description |
---|---|
static DateTimeFormatSymbols |
DateTimeFormatSymbols.STANDARD
The standard set of non-localized symbols.
|
Modifier and Type | Method and Description |
---|---|
DateTimeFormatSymbols |
DateTimeFormatter.getSymbols()
Gets the set of symbols to be used during formatting.
|
static DateTimeFormatSymbols |
DateTimeFormatSymbols.of(Locale locale)
Obtains symbols for the specified locale.
|
static DateTimeFormatSymbols |
DateTimeFormatSymbols.ofDefaultLocale()
Obtains symbols for the default
FORMAT locale. |
DateTimeFormatSymbols |
DateTimeFormatSymbols.withDecimalSeparator(char decimalSeparator)
Returns a copy of the info with a new character that represents the decimal point.
|
DateTimeFormatSymbols |
DateTimeFormatSymbols.withNegativeSign(char negativeSign)
Returns a copy of the info with a new character that represents the negative sign.
|
DateTimeFormatSymbols |
DateTimeFormatSymbols.withPositiveSign(char positiveSign)
Returns a copy of the info with a new character that represents the positive sign.
|
DateTimeFormatSymbols |
DateTimeFormatSymbols.withZeroDigit(char zeroDigit)
Returns a copy of the info with a new character that represents zero.
|
Modifier and Type | Method and Description |
---|---|
DateTimeFormatter |
DateTimeFormatter.withSymbols(DateTimeFormatSymbols symbols)
Returns a copy of this formatter with a new set of symbols.
|
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, 2013, Oracle and/or its affiliates. All rights reserved.
DRAFT internal-0