< prev index next >
src/java.base/share/classes/java/time/format/DecimalStyle.java
Print this page
8204444: java.time cleanup
Reviewed-by: scolebourne, rriggs
@@ -214,11 +214,10 @@
* The character used to represent digits may vary by culture.
* This method specifies the zero character to use, which implies the characters for one to nine.
*
* @param zeroDigit the character for zero
* @return a copy with a new character that represents zero, not null
-
*/
public DecimalStyle withZeroDigit(char zeroDigit) {
if (zeroDigit == this.zeroDigit) {
return this;
}
< prev index next >