From 0c8d93acbcfb5be6bd02f2410d49c7b969c6c488 Mon Sep 17 00:00:00 2001 From: Alexey Andreev Date: Tue, 14 Apr 2020 16:40:45 +0300 Subject: [PATCH] Add DecimalFormat.setDecimalFormatSymbols --- .../java/org/teavm/classlib/java/text/TDecimalFormat.java | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/classlib/src/main/java/org/teavm/classlib/java/text/TDecimalFormat.java b/classlib/src/main/java/org/teavm/classlib/java/text/TDecimalFormat.java index d8cfad009..8817bbb8f 100644 --- a/classlib/src/main/java/org/teavm/classlib/java/text/TDecimalFormat.java +++ b/classlib/src/main/java/org/teavm/classlib/java/text/TDecimalFormat.java @@ -75,6 +75,10 @@ public class TDecimalFormat extends TNumberFormat { return (DecimalFormatSymbols) symbols.clone(); } + public void setDecimalFormatSymbols(DecimalFormatSymbols symbols) { + this.symbols = (TDecimalFormatSymbols) symbols.clone(); + } + private StringBuffer fieldsToText(FormatField[] fields, StringBuffer buffer) { for (FormatField field : fields) { field.render(this, buffer);