Add DecimalFormat.setDecimalFormatSymbols

This commit is contained in:
Alexey Andreev 2020-04-14 16:40:45 +03:00
parent 1681aa5834
commit 0c8d93acbc

View File

@ -75,6 +75,10 @@ public class TDecimalFormat extends TNumberFormat {
return (DecimalFormatSymbols) symbols.clone(); return (DecimalFormatSymbols) symbols.clone();
} }
public void setDecimalFormatSymbols(DecimalFormatSymbols symbols) {
this.symbols = (TDecimalFormatSymbols) symbols.clone();
}
private StringBuffer fieldsToText(FormatField[] fields, StringBuffer buffer) { private StringBuffer fieldsToText(FormatField[] fields, StringBuffer buffer) {
for (FormatField field : fields) { for (FormatField field : fields) {
field.render(this, buffer); field.render(this, buffer);