]> granicus.if.org Git - icu/commitdiff
ICU-11555 Integrate CLDR 27 data
authorJohn Emmons <emmo@us.ibm.com>
Fri, 6 Mar 2015 23:05:45 +0000 (23:05 +0000)
committerJohn Emmons <emmo@us.ibm.com>
Fri, 6 Mar 2015 23:05:45 +0000 (23:05 +0000)
X-SVN-Rev: 37170

13 files changed:
icu4j/main/classes/core/src/com/ibm/icu/util/Region.java
icu4j/main/shared/data/icudata.jar
icu4j/main/shared/data/icutzdata.jar
icu4j/main/shared/data/testdata.jar
icu4j/main/tests/collate/src/com/ibm/icu/dev/test/util/ULocaleCollationTest.java
icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/DateFormatTest.java
icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/DateIntervalFormatTest.java
icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/DateTimeGeneratorTest.java
icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/MeasureUnitTest.java
icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/RelativeDateTimeFormatterTest.java
icu4j/main/tests/core/src/com/ibm/icu/dev/test/util/DebugUtilitiesData.java
icu4j/main/tests/core/src/com/ibm/icu/dev/test/util/LocaleDataTest.java
icu4j/main/tests/core/src/com/ibm/icu/dev/test/util/ULocaleTest.java

index a1ecd8c08504e40a1288f12f4f4e68c6de0faece..cba701f05dfd968a02312bb736e6271cc2841739 100644 (file)
@@ -1,6 +1,6 @@
 /*
  *******************************************************************************
- * Copyright (C) 2011-2014, International Business Machines Corporation        *
+ * Copyright (C) 2011-2015, International Business Machines Corporation        *
  * All Rights Reserved.                                                        *
  *******************************************************************************
  */
@@ -154,20 +154,22 @@ public class Region implements Comparable<Region> {
 
 
         UResourceBundle regionCodes = null;
+        UResourceBundle metadataAlias = null;
         UResourceBundle territoryAlias = null;
         UResourceBundle codeMappings = null;
         UResourceBundle worldContainment = null;
         UResourceBundle territoryContainment = null;
         UResourceBundle groupingContainment = null;
 
-        UResourceBundle rb = UResourceBundle.getBundleInstance(ICUResourceBundle.ICU_BASE_NAME,"metadata",ICUResourceBundle.ICU_DATA_CLASS_LOADER);
-        regionCodes = rb.get("regionCodes");
-        territoryAlias = rb.get("territoryAlias");
+        UResourceBundle metadata = UResourceBundle.getBundleInstance(ICUResourceBundle.ICU_BASE_NAME,"metadata",ICUResourceBundle.ICU_DATA_CLASS_LOADER);
+        regionCodes = metadata.get("regionCodes");
+        metadataAlias = metadata.get("alias");
+        territoryAlias = metadataAlias.get("territory");
 
-        UResourceBundle rb2 = UResourceBundle.getBundleInstance(ICUResourceBundle.ICU_BASE_NAME,"supplementalData", ICUResourceBundle.ICU_DATA_CLASS_LOADER);
-        codeMappings = rb2.get("codeMappings");
+        UResourceBundle supplementalData = UResourceBundle.getBundleInstance(ICUResourceBundle.ICU_BASE_NAME,"supplementalData", ICUResourceBundle.ICU_DATA_CLASS_LOADER);
+        codeMappings = supplementalData.get("codeMappings");
 
-        territoryContainment = rb2.get("territoryContainment");
+        territoryContainment = supplementalData.get("territoryContainment");
         worldContainment = territoryContainment.get("001");
         groupingContainment = territoryContainment.get("grouping");
 
@@ -200,7 +202,7 @@ public class Region implements Comparable<Region> {
         for ( int i = 0 ; i < territoryAlias.getSize(); i++ ) {
             UResourceBundle res = territoryAlias.get(i);
             String aliasFrom = res.getKey();
-            String aliasTo = res.getString();
+            String aliasTo = res.get("replacement").getString();
 
             if ( regionIDMap.containsKey(aliasTo) && !regionIDMap.containsKey(aliasFrom) ) { // This is just an alias from some string to a region
                 regionAliases.put(aliasFrom, regionIDMap.get(aliasTo));
index ba547afd20dfc34e84043db64b5d8bd2622214fd..52a06bc59b66454ee70d8ba49a409dd17f8287c3 100755 (executable)
@@ -1,3 +1,3 @@
 version https://git-lfs.github.com/spec/v1
-oid sha256:8c755cc9518cf40c70a251694c4f10cc8942f0d837b0894ded42bf23afa544ee
-size 11868974
+oid sha256:bbfc75cd51b0b67b76393b67e138576150b22650a64b8ab036499e510dfe7e25
+size 11850594
index 1452b92b4f2b7654a4af6dd98e3ca492d5c04e2f..192335e46067b27241e17c93395bbf0d6a116707 100755 (executable)
@@ -1,3 +1,3 @@
 version https://git-lfs.github.com/spec/v1
-oid sha256:bba5e69e2602c2a121977ede7224e4126ce04905831fb048bef10cb59ec822f2
+oid sha256:39baedbfb3fd5d79647ca840340552422c86c2f62a7b332c330fc4f30b7a5e51
 size 90574
index 5b0522c351eb213dac6a466a4a2aa318223fdce8..7f55b0561c6c66533108d35169cc1fb113316162 100755 (executable)
@@ -1,3 +1,3 @@
 version https://git-lfs.github.com/spec/v1
-oid sha256:c86143997cbc37300ed28950dd24d6d00a3b72ca7b6085ef875b2b6348ad7f77
-size 812408
+oid sha256:4151de944d2009c0b9ff3bd87584163679f0800e8d0e4fef4580293a936181a7
+size 812477
index 04594732471086aaa8f6aaa414cd889a66443a10..d5cacac95ebfbf9a9e19dc600152e17ba164a0d4 100644 (file)
@@ -267,7 +267,7 @@ public class ULocaleCollationTest extends TestFmwk {
                 }, 
                 {{"en-gb", "fr", "zh-Hant", "zh-SG", "sr", "sr-Latn"}, 
                     {"Anglais (Royaume-Uni)", "English (United Kingdom)", "en_GB", "en_GB"}, 
-                    {"Chinois (simplifié, Singapour)", "中文(简体中文、新加坡)", "zh_SG", "zh_Hans_SG"}, 
+                    {"Chinois (simplifié, Singapour)", "中文(简体、新加坡)", "zh_SG", "zh_Hans_SG"}, 
                     {"Chinois (traditionnel, Taïwan)", "中文(繁體,台灣)", "zh_Hant", "zh_Hant_TW"}, 
                     {"Français", "Français", "fr", "fr"}, 
                     {"Serbe (cyrillique)", "Српски (ћирилица)", "sr", "sr_Cyrl"}, 
@@ -316,4 +316,4 @@ public class ULocaleCollationTest extends TestFmwk {
         } 
     } 
 
-}
\ No newline at end of file
+}
index 4d0933e96e2daf8e2109907abfb43a4ee1e62863..3dc7a2c3f839279d1ff84ab22b83ebbb354f41e7 100644 (file)
@@ -2947,10 +2947,10 @@ public class DateFormatTest extends com.ibm.icu.dev.test.TestFmwk {
                 "ccccc", "1970 01 02 0:00:00", "P",
                 "ccccc", "1970 01 03 0:00:00", "S",
             
-                "h:mm a",     "2015 01 01 10:00:00", "10:00 AM",
-                "h:mm a",     "2015 01 01 22:00:00", "10:00 PM",
-                "h:mm aaaaa", "2015 01 01 10:00:00", "10:00 AM",
-                "h:mm aaaaa", "2015 01 01 22:00:00", "10:00 PM",
+                "h:mm a",     "2015 01 01 10:00:00", "10:00 dopoledne",
+                "h:mm a",     "2015 01 01 22:00:00", "10:00 odpoledne",
+                "h:mm aaaaa", "2015 01 01 10:00:00", "10:00 dop.",
+                "h:mm aaaaa", "2015 01 01 22:00:00", "10:00 odp.",
             };
             
             String CA_DATA[] = {
index d6266d7ea7378e4750ac601decfb60ecd3a86c21..7e924d6d01b2c03bd2912ef4354b23fad3146423 100644 (file)
@@ -1,6 +1,6 @@
 /*
  *******************************************************************************
- * Copyright (C) 2001-2014, International Business Machines Corporation and    *
+ * Copyright (C) 2001-2015, International Business Machines Corporation and    *
  * others. All Rights Reserved.                                                *
  *******************************************************************************
  */
@@ -417,7 +417,7 @@ public class DateIntervalFormatTest extends com.ibm.icu.dev.test.TestFmwk {
             
             "zh", "2007 10 10 10:10:10", "2007 11 10 10:10:10", "EEEEdMMMM", "10\\u670810\\u65e5\\u661f\\u671f\\u4e09\\u81f311\\u670810\\u65e5\\u661f\\u671f\\u516d", 
             
-            "zh", "2007 10 10 10:10:10", "2007 11 10 10:10:10", "hmv", "2007/10/10 \\u6D1B\\u6749\\u77F6\\u65F6\\u95F4\\u4E0A\\u534810:10 \\u2013 2007/11/10 \\u6D1B\\u6749\\u77F6\\u65F6\\u95F4\\u4E0A\\u534810:10", 
+            "zh", "2007 10 10 10:10:10", "2007 11 10 10:10:10", "hmv", "2007/10/10 \\u6D1B\\u6749\\u77F6\\u65F6\\u95F4 \\u4E0A\\u534810:10 \\u2013 2007/11/10 \\u6D1B\\u6749\\u77F6\\u65F6\\u95F4 \\u4E0A\\u534810:10", 
             
             "zh", "2007 11 10 10:10:10", "2007 11 20 10:10:10", "EEEEdMMMMy", "2007\\u5e7411\\u670810\\u65e5\\u661f\\u671f\\u516d\\u81f320\\u65e5\\u661f\\u671f\\u4e8c", 
             
@@ -450,7 +450,7 @@ public class DateIntervalFormatTest extends com.ibm.icu.dev.test.TestFmwk {
             
             "zh", "2007 11 10 10:10:10", "2007 11 20 10:10:10", "MMMM", "\\u5341\\u4E00\\u6708", // (fixed expected result per ticket 6872<-6626 and others)
             
-            "zh", "2007 11 10 10:10:10", "2007 11 20 10:10:10", "hmz", "2007/11/10 GMT-8\\u4e0a\\u534810:10 \\u2013 2007/11/20 GMT-8\\u4e0a\\u534810:10", 
+            "zh", "2007 11 10 10:10:10", "2007 11 20 10:10:10", "hmz", "2007/11/10 GMT-8 \\u4e0a\\u534810:10 \\u2013 2007/11/20 GMT-8 \\u4e0a\\u534810:10", 
             
             "zh", "2007 11 10 10:10:10", "2007 11 20 10:10:10", "h", "2007/11/10 \\u4e0a\\u534810\\u65f6 \\u2013 2007/11/20 \\u4e0a\\u534810\\u65f6", 
             
@@ -627,47 +627,47 @@ public class DateIntervalFormatTest extends com.ibm.icu.dev.test.TestFmwk {
         
             // Thai (default calendar buddhist)
 
-            "th", "2550 10 10 10:10:10", "2551 10 10 10:10:10", "EEEEdMMMy", "\\u0E27\\u0E31\\u0E19\\u0E1E\\u0E38\\u0E18 10 \\u0E15.\\u0E04. 2550 - \\u0E27\\u0E31\\u0E19\\u0E28\\u0E38\\u0E01\\u0E23\\u0E4C 10 \\u0E15.\\u0E04. 2551", 
+            "th", "2550 10 10 10:10:10", "2551 10 10 10:10:10", "EEEEdMMMy", "\\u0E27\\u0E31\\u0E19\\u0E1E\\u0E38\\u0E18\\u0E17\\u0E35\\u0E48 10 \\u0E15.\\u0E04. 2550 \\u2013 \\u0E27\\u0E31\\u0E19\\u0E28\\u0E38\\u0E01\\u0E23\\u0E4C\\u0E17\\u0E35\\u0E48 10 \\u0E15.\\u0E04. 2551", 
         
         
-            "th", "2550 10 10 10:10:10", "2551 10 10 10:10:10", "dMMM", "10 \\u0E15.\\u0E04. 2550 - 10 \\u0E15.\\u0E04. 2551", 
+            "th", "2550 10 10 10:10:10", "2551 10 10 10:10:10", "dMMM", "10 \\u0E15.\\u0E04. 2550 \\u2013 10 \\u0E15.\\u0E04. 2551", 
         
-            "th", "2550 10 10 10:10:10", "2551 10 10 10:10:10", "MMMy", "\\u0E15.\\u0E04. 2550 - \\u0E15.\\u0E04. 2551", 
+            "th", "2550 10 10 10:10:10", "2551 10 10 10:10:10", "MMMy", "\\u0E15.\\u0E04. 2550 \\u2013 \\u0E15.\\u0E04. 2551", 
         
         
-            "th", "2550 10 10 10:10:10", "2551 10 10 10:10:10", "EdMy", "\\u0E1E. 10/10/2550 - \\u0E28. 10/10/2551", 
+            "th", "2550 10 10 10:10:10", "2551 10 10 10:10:10", "EdMy", "\\u0E1E. 10/10/2550 \\u2013 \\u0E28. 10/10/2551", 
         
-            "th", "2550 10 10 10:10:10", "2551 10 10 10:10:10", "dMy", "10/10/2550 - 10/10/2551", 
+            "th", "2550 10 10 10:10:10", "2551 10 10 10:10:10", "dMy", "10/10/2550 \\u2013 10/10/2551", 
         
         
-            "th", "2550 10 10 10:10:10", "2551 10 10 10:10:10", "My", "10/2550 - 10/2551", 
+            "th", "2550 10 10 10:10:10", "2551 10 10 10:10:10", "My", "10/2550 \\u2013 10/2551", 
         
-            "th", "2550 10 10 10:10:10", "2551 10 10 10:10:10", "EdM", "\\u0E1E. 10/10/2550 - \\u0E28. 10/10/2551", 
+            "th", "2550 10 10 10:10:10", "2551 10 10 10:10:10", "EdM", "\\u0E1E. 10/10/2550 \\u2013 \\u0E28. 10/10/2551", 
         
         
-            "th", "2550 10 10 10:10:10", "2551 10 10 10:10:10", "y", "2550-2551", 
+            "th", "2550 10 10 10:10:10", "2551 10 10 10:10:10", "y", "2550\\u20132551", 
         
-            "th", "2550 10 10 10:10:10", "2551 10 10 10:10:10", "M", "10/2550 - 10/2551", 
+            "th", "2550 10 10 10:10:10", "2551 10 10 10:10:10", "M", "10/2550 \\u2013 10/2551", 
         
         
-            "th", "2550 10 10 10:10:10", "2550 11 10 10:10:10", "EEEEdMMMy", "\\u0E27\\u0E31\\u0E19\\u0E1E\\u0E38\\u0E18 10 \\u0E15.\\u0E04. - \\u0E27\\u0E31\\u0E19\\u0E40\\u0E2A\\u0E32\\u0E23\\u0E4C 10 \\u0E1E.\\u0E22. 2550", 
+            "th", "2550 10 10 10:10:10", "2550 11 10 10:10:10", "EEEEdMMMy", "\\u0E27\\u0E31\\u0E19\\u0E1E\\u0E38\\u0E18\\u0E17\\u0E35\\u0E48 10 \\u0E15.\\u0E04. \\u2013 \\u0E27\\u0E31\\u0E19\\u0E40\\u0E2A\\u0E32\\u0E23\\u0E4C\\u0E17\\u0E35\\u0E48 10 \\u0E1E.\\u0E22. 2550", 
         
         
-            "th", "2550 10 10 10:10:10", "2550 11 10 10:10:10", "dMMM", "10 \\u0E15.\\u0E04. - 10 \\u0E1E.\\u0E22.", 
+            "th", "2550 10 10 10:10:10", "2550 11 10 10:10:10", "dMMM", "10 \\u0E15.\\u0E04. \\u2013 10 \\u0E1E.\\u0E22.", 
         
-            "th", "2550 10 10 10:10:10", "2550 11 10 10:10:10", "MMMy", "\\u0E15.\\u0E04.-\\u0E1E.\\u0E22. 2550", 
+            "th", "2550 10 10 10:10:10", "2550 11 10 10:10:10", "MMMy", "\\u0E15.\\u0E04.\\u2013\\u0E1E.\\u0E22. 2550", 
         
-            "th", "2550 10 10 10:10:10", "2550 11 10 10:10:10", "dM", "10/10 - 10/11", 
+            "th", "2550 10 10 10:10:10", "2550 11 10 10:10:10", "dM", "10/10 \\u2013 10/11", 
         
-            "th", "2550 10 10 10:10:10", "2550 11 10 10:10:10", "My", "10/2550 - 11/2550", 
+            "th", "2550 10 10 10:10:10", "2550 11 10 10:10:10", "My", "10/2550 \\u2013 11/2550", 
         
         
-            "th", "2550 10 10 10:10:10", "2550 11 10 10:10:10", "d", "10/10 - 10/11", 
+            "th", "2550 10 10 10:10:10", "2550 11 10 10:10:10", "d", "10/10 \\u2013 10/11", 
         
             "th", "2550 10 10 10:10:10", "2550 11 10 10:10:10", "y", "\u0E1E.\u0E28. 2550", 
         
         
-            "th", "2550 10 10 10:10:10", "2550 11 10 10:10:10", "MMM", "\\u0E15.\\u0E04.-\\u0E1E.\\u0E22.", 
+            "th", "2550 10 10 10:10:10", "2550 11 10 10:10:10", "MMM", "\\u0E15.\\u0E04.\\u2013\\u0E1E.\\u0E22.", 
 
         };
         expect(DATA, DATA.length);
@@ -748,17 +748,17 @@ public class DateIntervalFormatTest extends com.ibm.icu.dev.test.TestFmwk {
             
             "de", "2007 01 10 10:10:10", "2007 01 10 10:10:20", "10. Jan. 2007", 
             
-            "es", "2007 10 10 10:10:10", "2008 10 10 10:10:10", "10 de oct. de 2007 --- 10 de oct. de 2008", 
+            "es", "2007 10 10 10:10:10", "2008 10 10 10:10:10", "10 oct. 2007 --- 10 oct. 2008", 
             
             "es", "2007 10 10 10:10:10", "2007 11 10 10:10:10", "2007 oct. 10 - nov. 2007", 
             
-            "es", "2007 11 10 10:10:10", "2007 11 20 10:10:10", "10 de nov. de 2007 --- 20 de nov. de 2007", 
+            "es", "2007 11 10 10:10:10", "2007 11 20 10:10:10", "10 nov. 2007 --- 20 nov. 2007", 
             
-            "es", "2007 01 10 10:00:10", "2007 01 10 14:10:10", "10 de ene. de 2007", 
+            "es", "2007 01 10 10:00:10", "2007 01 10 14:10:10", "10 ene. 2007", 
             
-            "es", "2007 01 10 10:00:10", "2007 01 10 10:20:10", "10 de ene. de 2007", 
+            "es", "2007 01 10 10:00:10", "2007 01 10 10:20:10", "10 ene. 2007", 
             
-            "es", "2007 01 10 10:10:10", "2007 01 10 10:10:20", "10 de ene. de 2007", 
+            "es", "2007 01 10 10:10:10", "2007 01 10 10:10:20", "10 ene. 2007", 
         };
         expectUserDII(DATA, DATA.length);
     }
index 302a3f86a8e17c114865e4549762cbf43d04972b..10060ce5120a5c668ba19d68c7ea43b175c26f09 100644 (file)
@@ -348,11 +348,11 @@ public class DateTimeGeneratorTest extends TestFmwk {
 
         new ULocale("es"),
         new String[] {"yM", "1/1999"},
-        new String[] {"yMMM", "ene. de 1999"},
+        new String[] {"yMMM", "ene. 1999"},
         new String[] {"yMd", "13/1/1999"},
-        new String[] {"yMMMd", "13 de ene. de 1999"},
+        new String[] {"yMMMd", "13 ene. 1999"},
         new String[] {"Md", "13/1"},
-        new String[] {"MMMd", "13 de ene."},
+        new String[] {"MMMd", "13 ene."},
         new String[] {"MMMMd", "13 de enero"},
         new String[] {"yQQQ", "T1 1999"},
         new String[] {"hhmm", "11:58 p. m."},
@@ -360,7 +360,7 @@ public class DateTimeGeneratorTest extends TestFmwk {
         new String[] {"jjmm", "23:58"},
         new String[] {"mmss", "58:59"},
         new String[] {"yyyyMMMM", "enero de 1999"},
-        new String[] {"MMMEd", "mi\u00E9., 13 de ene."},
+        new String[] {"MMMEd", "mi\u00E9., 13 ene."},
         new String[] {"Ed", "mi\u00E9. 13"},
         new String[] {"jmmssSSS", "23:58:59,123"},
         new String[] {"JJmm", "23:58"},
index eb63b6f1a19c75ffde068f3e4454130ae38bebfe..ec6886442b2315a073414a9719b1bccccb8f88a8 100644 (file)
@@ -1,6 +1,6 @@
 /*
  *******************************************************************************
- * Copyright (C) 2013-2014, International Business Machines Corporation and         *
+ * Copyright (C) 2013-2015, International Business Machines Corporation and         *
  * others. All Rights Reserved.                                                *
  *******************************************************************************
  */
@@ -500,11 +500,11 @@ public class MeasureUnitTest extends TestFmwk {
                 {_1h_0m_23s, "1 hour, 0 minutes, 23 seconds"},
                 {_2y_5M_3w_4d, "2 years, 5 months, 3 weeks, 4 days"}};
         Object[][] abbrevData = {
-                {_1m_59_9996s, "1 min, 59.9996 secs"},
-                {_19m, "19 mins"},
-                {_1h_23_5s, "1 hr, 23.5 secs"},
-                {_1h_23_5m, "1 hr, 23.5 mins"},
-                {_1h_0m_23s, "1 hr, 0 mins, 23 secs"},
+                {_1m_59_9996s, "1 min, 59.9996 sec"},
+                {_19m, "19 min"},
+                {_1h_23_5s, "1 hr, 23.5 sec"},
+                {_1h_23_5m, "1 hr, 23.5 min"},
+                {_1h_0m_23s, "1 hr, 0 min, 23 sec"},
                 {_2y_5M_3w_4d, "2 yrs, 5 mths, 3 wks, 4 days"}};
         Object[][] narrowData = {
                 {_1m_59_9996s, "1m 59.9996s"},
@@ -876,9 +876,9 @@ public class MeasureUnitTest extends TestFmwk {
         assertEquals("numeric currency", "$2.00", mf.format(USD_2));
         
         mf = MeasureFormat.getInstance(ULocale.JAPAN, FormatWidth.WIDE);
-        assertEquals("Wide currency", "-1.00 \u7C73\u30C9\u30EB", mf.format(USD_NEG_1));
-        assertEquals("Wide currency", "1.00 \u7C73\u30C9\u30EB", mf.format(USD_1));
-        assertEquals("Wide currency", "2.00 \u7C73\u30C9\u30EB", mf.format(USD_2));
+        assertEquals("Wide currency", "-1.00\u7C73\u30C9\u30EB", mf.format(USD_NEG_1));
+        assertEquals("Wide currency", "1.00\u7C73\u30C9\u30EB", mf.format(USD_1));
+        assertEquals("Wide currency", "2.00\u7C73\u30C9\u30EB", mf.format(USD_2));
     }
     
     public void testFieldPosition() {
index 23e7fe82b862269a7f1be083adba447a1607d6dd..59e0a64dee5caa1a54e19b8f703cc1ead5bb36d0 100644 (file)
@@ -1,6 +1,6 @@
 /*
  *******************************************************************************
- * Copyright (C) 2013-2014, International Business Machines Corporation and    *
+ * Copyright (C) 2013-2015, International Business Machines Corporation and    *
  * others. All Rights Reserved.                                                *
  *******************************************************************************
  */
@@ -628,7 +628,7 @@ public class RelativeDateTimeFormatterTest extends TestFmwk {
     public void TestTwoBeforeTwoAfter() {
         Object[][] data = {
                 {Direction.NEXT_2, AbsoluteUnit.DAY, "pasado ma\u00F1ana"},
-                {Direction.LAST_2, AbsoluteUnit.DAY, "antes de ayer"},
+                {Direction.LAST_2, AbsoluteUnit.DAY, "anteayer"},
         };
         RelativeDateTimeFormatter fmt = RelativeDateTimeFormatter.getInstance(new ULocale("es"));
         for (Object[] row : data) {
index 863025a19e8addfee18cfd1a5955fd2f158cdf1b..69d766bdb67886e1e31c2b6974137c7462baa6d7 100644 (file)
@@ -7,7 +7,7 @@
 package com.ibm.icu.dev.test.util;
 
 public class DebugUtilitiesData extends Object {
-    public static final String ICU4C_VERSION="55.0.1";
+    public static final String ICU4C_VERSION="55.1";
     public static final int UDebugEnumType = 0;
     public static final int UCalendarDateFields = 1;
     public static final int UCalendarMonths = 2;
index 4f7a61c99f43d3193b2eeaa342194106db0ace14..b03de30ae3672991040898c5f89bf1bdb9242f3c 100644 (file)
@@ -1,6 +1,6 @@
 /*
  *******************************************************************************
- * Copyright (C) 2003-2014, International Business Machines Corporation and    *
+ * Copyright (C) 2003-2015, International Business Machines Corporation and    *
  * others. All Rights Reserved.                                                *
  *******************************************************************************
  */
@@ -373,13 +373,13 @@ public class LocaleDataTest extends TestFmwk{
 
     public void TestFallback(){
         LocaleData fr_FR = LocaleData.getInstance(ULocale.FRANCE);
-        LocaleData fr_CA = LocaleData.getInstance(ULocale.CANADA_FRENCH);
+        LocaleData fr_CH = LocaleData.getInstance(new ULocale("fr_CH"));
 
         // This better not crash when only some values are overridden
-        assertEquals("Start quotes are not equal", fr_FR.getDelimiter(LocaleData.QUOTATION_START), fr_CA.getDelimiter(LocaleData.QUOTATION_START));
-        assertEquals("End quotes are not equals", fr_FR.getDelimiter(LocaleData.QUOTATION_END), fr_CA.getDelimiter(LocaleData.QUOTATION_END));
-        assertNotEquals("Alt start quotes are equal", fr_FR.getDelimiter(LocaleData.ALT_QUOTATION_START), fr_CA.getDelimiter(LocaleData.ALT_QUOTATION_START));
-        assertNotEquals("Alt end quotes are equals", fr_FR.getDelimiter(LocaleData.ALT_QUOTATION_END), fr_CA.getDelimiter(LocaleData.ALT_QUOTATION_END));
+        assertEquals("Start quotes are not equal", fr_FR.getDelimiter(LocaleData.QUOTATION_START), fr_CH.getDelimiter(LocaleData.QUOTATION_START));
+        assertEquals("End quotes are not equals", fr_FR.getDelimiter(LocaleData.QUOTATION_END), fr_CH.getDelimiter(LocaleData.QUOTATION_END));
+        assertNotEquals("Alt start quotes are equal", fr_FR.getDelimiter(LocaleData.ALT_QUOTATION_START), fr_CH.getDelimiter(LocaleData.ALT_QUOTATION_START));
+        assertNotEquals("Alt end quotes are equals", fr_FR.getDelimiter(LocaleData.ALT_QUOTATION_END), fr_CH.getDelimiter(LocaleData.ALT_QUOTATION_END));
     }
 
     public void TestLocaleDisplayPattern(){
index 2b6147e0f9f4330715493335ffc1abf95d659741..da3357a74c74cd26491af9b79cdf223d4edc5b87 100644 (file)
@@ -2556,8 +2556,8 @@ public class ULocaleTest extends TestFmwk {
                     "fi"
                 }, {
                     "und_FM",
-                    "chk_Latn_FM",
-                    "chk"
+                    "en_Latn_FM",
+                    "en_FM"
                 }, {
                     "und_FO",
                     "fo_Latn_FO",