Uses of Class
java.time.format.DecimalStyle
| Package | Description |
|---|---|
| java.time.format |
Provides classes to print and parse dates and times.
|
-
Uses of DecimalStyle in java.time.format
Fields in java.time.format declared as DecimalStyle Modifier and Type Field Description static DecimalStyleDecimalStyle. STANDARDThe standard set of non-localized decimal style symbols.Methods in java.time.format that return DecimalStyle Modifier and Type Method Description DecimalStyleDateTimeFormatter. getDecimalStyle()Gets the DecimalStyle to be used during formatting.static DecimalStyleDecimalStyle. of(Locale locale)Obtains the DecimalStyle for the specified locale.static DecimalStyleDecimalStyle. ofDefaultLocale()Obtains the DecimalStyle for the defaultFORMATlocale.DecimalStyleDecimalStyle. withDecimalSeparator(char decimalSeparator)Returns a copy of the info with a new character that represents the decimal point.DecimalStyleDecimalStyle. withNegativeSign(char negativeSign)Returns a copy of the info with a new character that represents the negative sign.DecimalStyleDecimalStyle. withPositiveSign(char positiveSign)Returns a copy of the info with a new character that represents the positive sign.DecimalStyleDecimalStyle. withZeroDigit(char zeroDigit)Returns a copy of the info with a new character that represents zero.Methods in java.time.format with parameters of type DecimalStyle Modifier and Type Method Description DateTimeFormatterDateTimeFormatter. withDecimalStyle(DecimalStyle decimalStyle)Returns a copy of this formatter with a new DecimalStyle.