diff --git a/icu4j/src/com/ibm/icu/dev/data/testdata.jar b/icu4j/src/com/ibm/icu/dev/data/testdata.jar index 3983f0da2a..485ed6fa14 100644 --- a/icu4j/src/com/ibm/icu/dev/data/testdata.jar +++ b/icu4j/src/com/ibm/icu/dev/data/testdata.jar @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:8f62259184b677afd9d4da6cbee3d508e2851a570e2bea017c30deeb1bacf29e -size 791523 +oid sha256:ac6b0ae42471b8a6a1d94c7328be8da1c9b6c7fa39617e029a0b5df93de52aa2 +size 791998 diff --git a/icu4j/src/com/ibm/icu/dev/test/collator/CollationFinnishTest.java b/icu4j/src/com/ibm/icu/dev/test/collator/CollationFinnishTest.java index e49ee37dde..5a32834ff8 100644 --- a/icu4j/src/com/ibm/icu/dev/test/collator/CollationFinnishTest.java +++ b/icu4j/src/com/ibm/icu/dev/test/collator/CollationFinnishTest.java @@ -1,6 +1,6 @@ /* ******************************************************************************* - * Copyright (C) 2002-2005, International Business Machines Corporation and * + * Copyright (C) 2002-2007, International Business Machines Corporation and * * others. All Rights Reserved. * ******************************************************************************* */ @@ -16,6 +16,7 @@ import com.ibm.icu.dev.test.*; import com.ibm.icu.text.*; import java.util.Locale; +import com.ibm.icu.util.ULocale; public class CollationFinnishTest extends TestFmwk { public static void main(String[] args) throws Exception { @@ -52,7 +53,7 @@ public class CollationFinnishTest extends TestFmwk { public CollationFinnishTest() { } protected void init()throws Exception{ - myCollation = Collator.getInstance(new Locale("fi", "FI")); + myCollation = Collator.getInstance(new ULocale("fi_FI@collation=standard")); } @@ -169,4 +170,4 @@ public class CollationFinnishTest extends TestFmwk { return target; } } - \ No newline at end of file + diff --git a/icu4j/src/com/ibm/icu/dev/test/format/DateFormatTest.java b/icu4j/src/com/ibm/icu/dev/test/format/DateFormatTest.java index 7514928b0d..fd6eff67ba 100755 --- a/icu4j/src/com/ibm/icu/dev/test/format/DateFormatTest.java +++ b/icu4j/src/com/ibm/icu/dev/test/format/DateFormatTest.java @@ -724,38 +724,38 @@ public class DateFormatTest extends com.ibm.icu.dev.test.TestFmwk { { "zh", "America/Los_Angeles", "2004-01-15T00:00:00Z", "Z", "-0800", "-8:00" }, { "zh", "America/Los_Angeles", "2004-01-15T00:00:00Z", "ZZZZ", "GMT-0800", "-8:00" }, - { "zh", "America/Los_Angeles", "2004-01-15T00:00:00Z", "z", "PST", "America/Los_Angeles" }, + { "zh", "America/Los_Angeles", "2004-01-15T00:00:00Z", "z", "GMT-0800", "America/Los_Angeles" }, { "zh", "America/Los_Angeles", "2004-01-15T00:00:00Z", "zzzz", "\u592a\u5e73\u6d0b\u6807\u51c6\u65f6\u95f4", "America/Los_Angeles" }, { "zh", "America/Los_Angeles", "2004-07-15T00:00:00Z", "Z", "-0700", "-7:00" }, { "zh", "America/Los_Angeles", "2004-07-15T00:00:00Z", "ZZZZ", "GMT-0700", "-7:00" }, - { "zh", "America/Los_Angeles", "2004-07-15T00:00:00Z", "z", "PDT", "America/Los_Angeles" }, + { "zh", "America/Los_Angeles", "2004-07-15T00:00:00Z", "z", "GMT-0700", "America/Los_Angeles" }, { "zh", "America/Los_Angeles", "2004-07-15T00:00:00Z", "zzzz", "\u592a\u5e73\u6d0b\u590f\u4ee4\u65f6\u95f4", "America/Los_Angeles" }, // icu zh.txt has exemplar city for this time zone - { "zh", "America/Los_Angeles", "2004-07-15T00:00:00Z", "v", "PT", "America/Los_Angeles" }, - { "zh", "America/Los_Angeles", "2004-07-15T00:00:00Z", "vvvv", "\u7f8e\u56fd\u592a\u5e73\u6d0b\u65f6\u95f4", "America/Los_Angeles" }, + { "zh", "America/Los_Angeles", "2004-07-15T00:00:00Z", "v", "\u7f8e\u56fd (\u6d1b\u6749\u77f6)", "America/Los_Angeles" }, + { "zh", "America/Los_Angeles", "2004-07-15T00:00:00Z", "vvvv", "\u7f8e\u56fd (\u6d1b\u6749\u77f6)", "America/Los_Angeles" }, { "zh", "America/Argentina/Buenos_Aires", "2004-01-15T00:00:00Z", "Z", "-0300", "-3:00" }, { "zh", "America/Argentina/Buenos_Aires", "2004-01-15T00:00:00Z", "ZZZZ", "GMT-0300", "-3:00" }, - { "zh", "America/Argentina/Buenos_Aires", "2004-01-15T00:00:00Z", "z", "ARST", "-3:00" }, - { "zh", "America/Argentina/Buenos_Aires", "2004-01-15T00:00:00Z", "zzzz", "\u963f\u6839\u5ef7\u6807\u51c6\u65f6\u95f4", "-3:00" }, + { "zh", "America/Argentina/Buenos_Aires", "2004-01-15T00:00:00Z", "z", "GMT-0300", "-3:00" }, + { "zh", "America/Argentina/Buenos_Aires", "2004-01-15T00:00:00Z", "zzzz", "GMT-0300", "-3:00" }, { "zh", "America/Argentina/Buenos_Aires", "2004-07-15T00:00:00Z", "Z", "-0300", "-3:00" }, { "zh", "America/Argentina/Buenos_Aires", "2004-07-15T00:00:00Z", "ZZZZ", "GMT-0300", "-3:00" }, - { "zh", "America/Argentina/Buenos_Aires", "2004-07-15T00:00:00Z", "z", "ARST", "-3:00" }, - { "zh", "America/Argentina/Buenos_Aires", "2004-07-15T00:00:00Z", "zzzz", "\u963f\u6839\u5ef7\u6807\u51c6\u65f6\u95f4", "-3:00" }, + { "zh", "America/Argentina/Buenos_Aires", "2004-07-15T00:00:00Z", "z", "GMT-0300", "-3:00" }, + { "zh", "America/Argentina/Buenos_Aires", "2004-07-15T00:00:00Z", "zzzz", "GMT-0300", "-3:00" }, // icu zh.txt does not have info for this time zone - { "zh", "America/Argentina/Buenos_Aires", "2004-07-15T00:00:00Z", "v", "ART", "America/Buenos_Aires" }, - { "zh", "America/Argentina/Buenos_Aires", "2004-07-15T00:00:00Z", "vvvv", "\u963f\u6839\u5ef7\u65f6\u95f4", "America/Buenos_Aires" }, + { "zh", "America/Argentina/Buenos_Aires", "2004-07-15T00:00:00Z", "v", "\u963f\u6839\u5ef7 (\u5e03\u5b9c\u8bfa\u65af\u827e\u5229\u65af)", "America/Buenos_Aires" }, + { "zh", "America/Argentina/Buenos_Aires", "2004-07-15T00:00:00Z", "vvvv", "\u963f\u6839\u5ef7 (\u5e03\u5b9c\u8bfa\u65af\u827e\u5229\u65af)", "America/Buenos_Aires" }, { "zh", "America/Buenos_Aires", "2004-01-15T00:00:00Z", "Z", "-0300", "-3:00" }, { "zh", "America/Buenos_Aires", "2004-01-15T00:00:00Z", "ZZZZ", "GMT-0300", "-3:00" }, - { "zh", "America/Buenos_Aires", "2004-01-15T00:00:00Z", "z", "ARST", "-3:00" }, - { "zh", "America/Buenos_Aires", "2004-01-15T00:00:00Z", "zzzz", "\u963f\u6839\u5ef7\u6807\u51c6\u65f6\u95f4", "-3:00" }, + { "zh", "America/Buenos_Aires", "2004-01-15T00:00:00Z", "z", "GMT-0300", "-3:00" }, + { "zh", "America/Buenos_Aires", "2004-01-15T00:00:00Z", "zzzz", "GMT-0300", "-3:00" }, { "zh", "America/Buenos_Aires", "2004-07-15T00:00:00Z", "Z", "-0300", "-3:00" }, { "zh", "America/Buenos_Aires", "2004-07-15T00:00:00Z", "ZZZZ", "GMT-0300", "-3:00" }, - { "zh", "America/Buenos_Aires", "2004-07-15T00:00:00Z", "z", "ARST", "-3:00" }, - { "zh", "America/Buenos_Aires", "2004-07-15T00:00:00Z", "zzzz", "\u963f\u6839\u5ef7\u6807\u51c6\u65f6\u95f4", "-3:00" }, - { "zh", "America/Buenos_Aires", "2004-07-15T00:00:00Z", "v", "ART", "America/Buenos_Aires" }, - { "zh", "America/Buenos_Aires", "2004-07-15T00:00:00Z", "vvvv", "\u963f\u6839\u5ef7\u65f6\u95f4", "America/Buenos_Aires" }, + { "zh", "America/Buenos_Aires", "2004-07-15T00:00:00Z", "z", "GMT-0300", "-3:00" }, + { "zh", "America/Buenos_Aires", "2004-07-15T00:00:00Z", "zzzz", "GMT-0300", "-3:00" }, + { "zh", "America/Buenos_Aires", "2004-07-15T00:00:00Z", "v", "\u963f\u6839\u5ef7 (\u5e03\u5b9c\u8bfa\u65af\u827e\u5229\u65af)", "America/Buenos_Aires" }, + { "zh", "America/Buenos_Aires", "2004-07-15T00:00:00Z", "vvvv", "\u963f\u6839\u5ef7 (\u5e03\u5b9c\u8bfa\u65af\u827e\u5229\u65af)", "America/Buenos_Aires" }, { "zh", "America/Havana", "2004-01-15T00:00:00Z", "Z", "-0500", "-5:00" }, { "zh", "America/Havana", "2004-01-15T00:00:00Z", "ZZZZ", "GMT-0500", "-5:00" }, @@ -770,26 +770,26 @@ public class DateFormatTest extends com.ibm.icu.dev.test.TestFmwk { { "zh", "Australia/ACT", "2004-01-15T00:00:00Z", "Z", "+1100", "+11:00" }, { "zh", "Australia/ACT", "2004-01-15T00:00:00Z", "ZZZZ", "GMT+1100", "+11:00" }, - { "zh", "Australia/ACT", "2004-01-15T00:00:00Z", "z", "AEDT", "+11:00" }, + { "zh", "Australia/ACT", "2004-01-15T00:00:00Z", "z", "GMT+1100", "+11:00" }, { "zh", "Australia/ACT", "2004-01-15T00:00:00Z", "zzzz", "\u6fb3\u5927\u5229\u4e9a\u4e1c\u90e8\u590f\u4ee4\u65f6\u95f4", "+11:00" }, { "zh", "Australia/ACT", "2004-07-15T00:00:00Z", "Z", "+1000", "+10:00" }, { "zh", "Australia/ACT", "2004-07-15T00:00:00Z", "ZZZZ", "GMT+1000", "+10:00" }, - { "zh", "Australia/ACT", "2004-07-15T00:00:00Z", "z", "AEST", "+10:00" }, - { "zh", "Australia/ACT", "2004-07-15T00:00:00Z", "zzzz", "\u6fb3\u5927\u5229\u4e9a\u4e2d\u90e8\u6807\u51c6\u65f6\u95f4", "+10:00" }, + { "zh", "Australia/ACT", "2004-07-15T00:00:00Z", "z", "GMT+1000", "+10:00" }, + { "zh", "Australia/ACT", "2004-07-15T00:00:00Z", "zzzz", "GMT+1000", "+10:00" }, // icu zh.txt does not have info for this time zone - { "zh", "Australia/ACT", "2004-07-15T00:00:00Z", "v", "AET", "Australia/Sydney" }, - { "zh", "Australia/ACT", "2004-07-15T00:00:00Z", "vvvv", "\u6fb3\u5927\u5229\u4e9a\u4e1c\u90e8\u65f6\u95f4", "Australia/Sydney" }, + { "zh", "Australia/ACT", "2004-07-15T00:00:00Z", "v", "\u6fb3\u5927\u5229\u4e9a (\u6089\u5c3c)", "Australia/Sydney" }, + { "zh", "Australia/ACT", "2004-07-15T00:00:00Z", "vvvv", "\u6fb3\u5927\u5229\u4e9a (\u6089\u5c3c)", "Australia/Sydney" }, { "zh", "Australia/Sydney", "2004-01-15T00:00:00Z", "Z", "+1100", "+11:00" }, { "zh", "Australia/Sydney", "2004-01-15T00:00:00Z", "ZZZZ", "GMT+1100", "+11:00" }, - { "zh", "Australia/Sydney", "2004-01-15T00:00:00Z", "z", "AEDT", "+11:00" }, + { "zh", "Australia/Sydney", "2004-01-15T00:00:00Z", "z", "GMT+1100", "+11:00" }, { "zh", "Australia/Sydney", "2004-01-15T00:00:00Z", "zzzz", "\u6fb3\u5927\u5229\u4e9a\u4e1c\u90e8\u590f\u4ee4\u65f6\u95f4", "+11:00" }, { "zh", "Australia/Sydney", "2004-07-15T00:00:00Z", "Z", "+1000", "+10:00" }, { "zh", "Australia/Sydney", "2004-07-15T00:00:00Z", "ZZZZ", "GMT+1000", "+10:00" }, - { "zh", "Australia/Sydney", "2004-07-15T00:00:00Z", "z", "AEST", "+10:00" }, - { "zh", "Australia/Sydney", "2004-07-15T00:00:00Z", "zzzz", "\u6fb3\u5927\u5229\u4e9a\u4e2d\u90e8\u6807\u51c6\u65f6\u95f4", "+10:00" }, - { "zh", "Australia/Sydney", "2004-07-15T00:00:00Z", "v", "AET", "Australia/Sydney" }, - { "zh", "Australia/Sydney", "2004-07-15T00:00:00Z", "vvvv", "\u6fb3\u5927\u5229\u4e9a\u4e1c\u90e8\u65f6\u95f4", "Australia/Sydney" }, + { "zh", "Australia/Sydney", "2004-07-15T00:00:00Z", "z", "GMT+1000", "+10:00" }, + { "zh", "Australia/Sydney", "2004-07-15T00:00:00Z", "zzzz", "GMT+1000", "+10:00" }, + { "zh", "Australia/Sydney", "2004-07-15T00:00:00Z", "v", "\u6fb3\u5927\u5229\u4e9a (\u6089\u5c3c)", "Australia/Sydney" }, + { "zh", "Australia/Sydney", "2004-07-15T00:00:00Z", "vvvv", "\u6fb3\u5927\u5229\u4e9a (\u6089\u5c3c)", "Australia/Sydney" }, { "zh", "Europe/London", "2004-01-15T00:00:00Z", "Z", "+0000", "+0:00" }, { "zh", "Europe/London", "2004-01-15T00:00:00Z", "ZZZZ", "GMT+0000", "+0:00" }, @@ -797,10 +797,10 @@ public class DateFormatTest extends com.ibm.icu.dev.test.TestFmwk { { "zh", "Europe/London", "2004-01-15T00:00:00Z", "zzzz", "\u683C\u6797\u5C3C\u6CBB\u6807\u51C6\u65F6\u95F4", "+0:00" }, { "zh", "Europe/London", "2004-07-15T00:00:00Z", "Z", "+0100", "+1:00" }, { "zh", "Europe/London", "2004-07-15T00:00:00Z", "ZZZZ", "GMT+0100", "+1:00" }, - { "zh", "Europe/London", "2004-07-15T00:00:00Z", "z", "GDT", "+1:00" }, - { "zh", "Europe/London", "2004-07-15T00:00:00Z", "zzzz", "\u683c\u6797\u5c3c\u6cbb\u590f\u4ee4\u65f6\u95f4", "+1:00" }, - { "zh", "Europe/London", "2004-07-15T00:00:00Z", "v", "GMT", "Europe/London" }, - { "zh", "Europe/London", "2004-07-15T00:00:00Z", "vvvv", "\u683c\u6797\u5c3c\u6cbb\u65f6\u95f4", "Europe/London" }, + { "zh", "Europe/London", "2004-07-15T00:00:00Z", "z", "BST", "+1:00" }, + { "zh", "Europe/London", "2004-07-15T00:00:00Z", "zzzz", "GMT+0100", "+1:00" }, + { "zh", "Europe/London", "2004-07-15T00:00:00Z", "v", "\u82f1\u56fd", "Europe/London" }, + { "zh", "Europe/London", "2004-07-15T00:00:00Z", "vvvv", "\u82f1\u56fd", "Europe/London" }, { "zh", "Etc/GMT+3", "2004-01-15T00:00:00Z", "Z", "-0300", "-3:00" }, { "zh", "Etc/GMT+3", "2004-01-15T00:00:00Z", "ZZZZ", "GMT-0300", "-3:00" }, @@ -816,14 +816,14 @@ public class DateFormatTest extends com.ibm.icu.dev.test.TestFmwk { // JB#5150 { "zh", "Asia/Calcutta", "2004-01-15T00:00:00Z", "Z", "+0530", "+5:30" }, { "zh", "Asia/Calcutta", "2004-01-15T00:00:00Z", "ZZZZ", "GMT+0530", "+5:30" }, - { "zh", "Asia/Calcutta", "2004-01-15T00:00:00Z", "z", "IST", "+5:30" }, - { "zh", "Asia/Calcutta", "2004-01-15T00:00:00Z", "zzzz", "\u5370\u5ea6\u6807\u51c6\u65f6\u95f4", "+5:30" }, + { "zh", "Asia/Calcutta", "2004-01-15T00:00:00Z", "z", "GMT+0530", "+5:30" }, + { "zh", "Asia/Calcutta", "2004-01-15T00:00:00Z", "zzzz", "GMT+0530", "+5:30" }, { "zh", "Asia/Calcutta", "2004-07-15T00:00:00Z", "Z", "+0530", "+5:30" }, { "zh", "Asia/Calcutta", "2004-07-15T00:00:00Z", "ZZZZ", "GMT+0530", "+5:30" }, - { "zh", "Asia/Calcutta", "2004-07-15T00:00:00Z", "z", "IST", "+05:30" }, - { "zh", "Asia/Calcutta", "2004-07-15T00:00:00Z", "zzzz", "\u5370\u5ea6\u6807\u51c6\u65f6\u95f4", "+5:30" }, - { "zh", "Asia/Calcutta", "2004-07-15T00:00:00Z", "v", "IT", "Asia/Calcutta" }, - { "zh", "Asia/Calcutta", "2004-07-15T00:00:00Z", "vvvv", "\u5370\u5EA6\u65f6\u95f4", "Asia/Calcutta" }, + { "zh", "Asia/Calcutta", "2004-07-15T00:00:00Z", "z", "GMT+0530", "+05:30" }, + { "zh", "Asia/Calcutta", "2004-07-15T00:00:00Z", "zzzz", "GMT+0530", "+5:30" }, + { "zh", "Asia/Calcutta", "2004-07-15T00:00:00Z", "v", "\u5370\u5ea6", "Asia/Calcutta" }, + { "zh", "Asia/Calcutta", "2004-07-15T00:00:00Z", "vvvv", "\u5370\u5EA6", "Asia/Calcutta" }, // ========== diff --git a/icu4j/src/com/ibm/icu/dev/test/format/GlobalizationPreferencesTest.java b/icu4j/src/com/ibm/icu/dev/test/format/GlobalizationPreferencesTest.java index fa570cad62..283d026670 100644 --- a/icu4j/src/com/ibm/icu/dev/test/format/GlobalizationPreferencesTest.java +++ b/icu4j/src/com/ibm/icu/dev/test/format/GlobalizationPreferencesTest.java @@ -1456,8 +1456,8 @@ public class GlobalizationPreferencesTest extends TestFmwk { gp.setTerritory("US"); nf = gp.getNumberFormat(GlobalizationPreferences.NF_CURRENCY); numStr = nf.format(num); - if (!numStr.equals("123.456,79 USD")) { - errln("FAIL: Number string is " + numStr + " Expected: 123.456,79 USD"); + if (!numStr.equals("123.456,79 $")) { + errln("FAIL: Number string is " + numStr + " Expected: 123.456,79 $"); } // Set explicit currency @@ -1465,8 +1465,8 @@ public class GlobalizationPreferencesTest extends TestFmwk { gp.setCurrency(Currency.getInstance("GBP")); nf = gp.getNumberFormat(GlobalizationPreferences.NF_CURRENCY); numStr = nf.format(num); - if (!numStr.equals("123.456,79 GBP")) { - errln("FAIL: Number string is " + numStr + " Expected: 123.456,79 GBP"); + if (!numStr.equals("123.456,79 \u00A3")) { + errln("FAIL: Number string is " + numStr + " Expected: 123.456,79 \u00A3"); } // Set exliplicit NumberFormat diff --git a/icu4j/src/com/ibm/icu/impl/data/icudata.jar b/icu4j/src/com/ibm/icu/impl/data/icudata.jar index f5c4088a39..10a45517a9 100644 --- a/icu4j/src/com/ibm/icu/impl/data/icudata.jar +++ b/icu4j/src/com/ibm/icu/impl/data/icudata.jar @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:49c2e2db4b619f527bf893733618c59289b8a5ac3d64960df8d4a47de8458993 -size 5423979 +oid sha256:d678c922ee0b64cf7c5b559fae598706734a30eeb7906cccba90ec8325696bd6 +size 5424307