summaryrefslogtreecommitdiffstats
path: root/icu/src/main/java
diff options
context:
space:
mode:
authorElliott Hughes <enh@google.com>2010-03-29 17:39:51 -0700
committerElliott Hughes <enh@google.com>2010-03-29 17:39:51 -0700
commit90aa512eb7b126deb8d752b7474c30d3f73507b2 (patch)
tree33b118d24b080c7432de64d6ca3315a3a04ed953 /icu/src/main/java
parentabd91e389e4462208eb004b38d378f67d9676ec1 (diff)
downloadlibcore-90aa512eb7b126deb8d752b7474c30d3f73507b2.zip
libcore-90aa512eb7b126deb8d752b7474c30d3f73507b2.tar.gz
libcore-90aa512eb7b126deb8d752b7474c30d3f73507b2.tar.bz2
Add Java 6's exponent separator to DecimalFormatSymbols.
Bug: 2497395 Change-Id: Ic552fa828649bae882e508a62a44073d1038b5c0
Diffstat (limited to 'icu/src/main/java')
-rw-r--r--icu/src/main/java/com/ibm/icu4jni/util/LocaleData.java5
1 files changed, 5 insertions, 0 deletions
diff --git a/icu/src/main/java/com/ibm/icu4jni/util/LocaleData.java b/icu/src/main/java/com/ibm/icu4jni/util/LocaleData.java
index 109183d..e8572a2 100644
--- a/icu/src/main/java/com/ibm/icu4jni/util/LocaleData.java
+++ b/icu/src/main/java/com/ibm/icu4jni/util/LocaleData.java
@@ -52,6 +52,7 @@ public final class LocaleData {
public String decimalPatternChars;
+ public String exponentSeparator;
public String infinity;
public String NaN;
@@ -82,6 +83,7 @@ public final class LocaleData {
"mediumDateFormat=" + mediumDateFormat + "," +
"shortDateFormat=" + shortDateFormat + "," +
"decimalPatternChars=" + decimalPatternChars + "," +
+ "exponentSeparator=" + exponentSeparator + "," +
"infinity=" + infinity + "," +
"NaN=" + NaN + "," +
"currencySymbol=" + currencySymbol + "," +
@@ -144,6 +146,9 @@ public final class LocaleData {
if (overrides.decimalPatternChars != null) {
decimalPatternChars = overrides.decimalPatternChars;
}
+ if (overrides.exponentSeparator != null) {
+ exponentSeparator = overrides.exponentSeparator;
+ }
if (overrides.NaN != null) {
NaN = overrides.NaN;
}