ICU-9925 CLDR 23 pre-integration part 3, batch 2 (J)
X-SVN-Rev: 33201
This commit is contained in:
parent
4f59ab84cc
commit
258a1ad9b0
@ -1,3 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:c0bd4af6c50c47395fa23077e18c2b68feaf778c175cc7180adf39841cd39ecd
|
||||
size 9887512
|
||||
oid sha256:251e4d66838acc33f7c1ff44b7d67df9f74754997bd73bb7412be3a8176fa277
|
||||
size 9892561
|
||||
|
@ -1,3 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:c34f8a0d41cd1d8ddf26360d7d31e51f959de0431d32762bb3fede3acc1ac391
|
||||
oid sha256:7d6b8b2960462c0b321a15649ac87ba7ceaf6f59b23b9eca46d1a6404eed31d2
|
||||
size 97786
|
||||
|
@ -1,3 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:f99453ac0c8ba1743f02c287f01706421242a67f1e3395b1bfa3570d2feaa4d0
|
||||
size 723691
|
||||
oid sha256:d2eba66da56952723e17ee8921fe11b6cc10096fd2da99ea20d91a6ce91d4aa0
|
||||
size 723884
|
||||
|
@ -1223,8 +1223,8 @@ public class GlobalizationPreferencesTest extends TestFmwk {
|
||||
// Date - short
|
||||
df = gp.getDateFormat(GlobalizationPreferences.DF_SHORT, GlobalizationPreferences.DF_NONE);
|
||||
pattern = ((SimpleDateFormat)df).toPattern();
|
||||
if (!pattern.equals("dd/MM/yyyy")) {
|
||||
errln("FAIL: SHORT date pattern is " + pattern + " Expected: dd/MM/yyyy");
|
||||
if (!pattern.equals("dd/MM/y")) {
|
||||
errln("FAIL: SHORT date pattern is " + pattern + " Expected: dd/MM/y");
|
||||
}
|
||||
|
||||
// Time - full
|
||||
|
@ -3972,14 +3972,14 @@ public class DateFormatTest extends com.ibm.icu.dev.test.TestFmwk {
|
||||
}
|
||||
};
|
||||
final MonthPatternItem[] items = {
|
||||
new MonthPatternItem( "root@calendar=chinese", DateFormat.LONG, "ren-chen 4 2", "ren-chen 4bis 2", "ren-chen 5 2" ),
|
||||
new MonthPatternItem( "root@calendar=chinese", DateFormat.SHORT, "29-4-2", "29-4bis-2", "29-5-2" ),
|
||||
new MonthPatternItem( "root@calendar=chinese", DateFormat.LONG, "ren-chen month4 2", "ren-chen month4bis 2", "ren-chen month5 2" ),
|
||||
new MonthPatternItem( "root@calendar=chinese", DateFormat.SHORT, "29-04-02", "29-04bis-02", "29-05-02" ),
|
||||
new MonthPatternItem( "root@calendar=chinese", -1, "29-4-2", "29-4bis-2", "29-5-2" ),
|
||||
new MonthPatternItem( "root@calendar=chinese", -2, "78x29-4-2", "78x29-4bis-2", "78x29-5-2" ),
|
||||
new MonthPatternItem( "root@calendar=chinese", -3, "ren-chen-4-2", "ren-chen-4bis-2", "ren-chen-5-2" ),
|
||||
new MonthPatternItem( "root@calendar=chinese", -4, "ren-chen 4 2", "ren-chen 4bis 2", "ren-chen 5 2" ),
|
||||
new MonthPatternItem( "root@calendar=chinese", -4, "ren-chen month4 2", "ren-chen month4bis 2", "ren-chen month5 2" ),
|
||||
new MonthPatternItem( "en@calendar=gregorian", -3, "2012-4-22", "2012-5-22", "2012-6-20" ),
|
||||
new MonthPatternItem( "en@calendar=chinese", DateFormat.LONG, "4 2, ren-chen", "4bis 2, ren-chen", "5 2, ren-chen" ),
|
||||
new MonthPatternItem( "en@calendar=chinese", DateFormat.LONG, "month4 2, ren-chen", "month4bis 2, ren-chen", "month5 2, ren-chen" ),
|
||||
new MonthPatternItem( "en@calendar=chinese", DateFormat.SHORT, "4/2/29", "4bis/2/29", "5/2/29" ),
|
||||
new MonthPatternItem( "zh@calendar=chinese", DateFormat.LONG, "\u58EC\u8FB0\u5E74\u56DB\u6708\u4E8C\u65E5",
|
||||
"\u58EC\u8FB0\u5E74\u95F0\u56DB\u6708\u4E8C\u65E5",
|
||||
|
@ -76,23 +76,23 @@ public class DateIntervalFormatTest extends com.ibm.icu.dev.test.TestFmwk {
|
||||
|
||||
"en", "2007 10 10 10:10:10", "2008 10 10 10:10:10", "EdMMM", "Wed, Oct 10, 2007 \\u2013 Fri, Oct 10, 2008",
|
||||
|
||||
"en", "2007 10 10 10:10:10", "2008 10 10 10:10:10", "EdMy", "Wed, 10/10/07 \\u2013 Fri, 10/10/08",
|
||||
"en", "2007 10 10 10:10:10", "2008 10 10 10:10:10", "EdMy", "Wed, 10/10/2007 \\u2013 Fri, 10/10/2008",
|
||||
|
||||
"en", "2007 10 10 10:10:10", "2008 10 10 10:10:10", "dMy", "10/10/07 \\u2013 10/10/08",
|
||||
"en", "2007 10 10 10:10:10", "2008 10 10 10:10:10", "dMy", "10/10/2007 \\u2013 10/10/2008",
|
||||
|
||||
"en", "2007 10 10 10:10:10", "2008 10 10 10:10:10", "dM", "10/10/07 \\u2013 10/10/08",
|
||||
"en", "2007 10 10 10:10:10", "2008 10 10 10:10:10", "dM", "10/10/2007 \\u2013 10/10/2008",
|
||||
|
||||
"en", "2007 10 10 10:10:10", "2008 10 10 10:10:10", "My", "10/07 \\u2013 10/08",
|
||||
"en", "2007 10 10 10:10:10", "2008 10 10 10:10:10", "My", "10/2007 \\u2013 10/2008",
|
||||
|
||||
"en", "2007 10 10 10:10:10", "2008 10 10 10:10:10", "EdM", "Wed, 10/10/07 \\u2013 Fri, 10/10/08",
|
||||
"en", "2007 10 10 10:10:10", "2008 10 10 10:10:10", "EdM", "Wed, 10/10/2007 \\u2013 Fri, 10/10/2008",
|
||||
|
||||
"en", "2007 10 10 10:10:10", "2008 10 10 10:10:10", "d", "10/10/07 \\u2013 10/10/08",
|
||||
"en", "2007 10 10 10:10:10", "2008 10 10 10:10:10", "d", "10/10/2007 \\u2013 10/10/2008",
|
||||
|
||||
"en", "2007 10 10 10:10:10", "2008 10 10 10:10:10", "Ed", "10 Wed \\u2013 10 Fri",
|
||||
|
||||
"en", "2007 10 10 10:10:10", "2008 10 10 10:10:10", "y", "2007\\u20132008",
|
||||
|
||||
"en", "2007 10 10 10:10:10", "2008 10 10 10:10:10", "M", "10/07 \\u2013 10/08",
|
||||
"en", "2007 10 10 10:10:10", "2008 10 10 10:10:10", "M", "10/2007 \\u2013 10/2008",
|
||||
|
||||
"en", "2007 10 10 10:10:10", "2008 10 10 10:10:10", "MMM", "Oct 2007 \\u2013 Oct 2008",
|
||||
|
||||
@ -110,9 +110,9 @@ public class DateIntervalFormatTest extends com.ibm.icu.dev.test.TestFmwk {
|
||||
|
||||
"en", "2007 10 10 10:10:10", "2008 10 10 10:10:10", "hz", "10/10/2007, 10 AM PDT \\u2013 10/10/2008, 10 AM PDT",
|
||||
|
||||
"en", "2007 10 10 10:10:10", "2008 10 10 10:10:10", "EEddMMyyyy", "Wed, 10/10/07 \\u2013 Fri, 10/10/08",
|
||||
"en", "2007 10 10 10:10:10", "2008 10 10 10:10:10", "EEddMMyyyy", "Wed, 10/10/2007 \\u2013 Fri, 10/10/2008",
|
||||
|
||||
"en", "2007 10 10 10:10:10", "2008 10 10 10:10:10", "EddMMy", "Wed, 10/10/07 \\u2013 Fri, 10/10/08",
|
||||
"en", "2007 10 10 10:10:10", "2008 10 10 10:10:10", "EddMMy", "Wed, 10/10/2007 \\u2013 Fri, 10/10/2008",
|
||||
|
||||
"en", "2007 10 10 10:10:10", "2008 10 10 10:10:10", "hhmm", "10/10/2007, 10:10 AM \\u2013 10/10/2008, 10:10 AM",
|
||||
|
||||
@ -122,7 +122,7 @@ public class DateIntervalFormatTest extends com.ibm.icu.dev.test.TestFmwk {
|
||||
|
||||
"en", "2007 10 10 10:10:10", "2008 10 10 10:10:10", "dMMMMMy", "O 10, 2007 \\u2013 O 10, 2008",
|
||||
|
||||
"en", "2007 10 10 10:10:10", "2008 10 10 10:10:10", "EEEEEdM", "W, 10/10/07 \\u2013 F, 10/10/08",
|
||||
"en", "2007 10 10 10:10:10", "2008 10 10 10:10:10", "EEEEEdM", "W, 10/10/2007 \\u2013 F, 10/10/2008",
|
||||
|
||||
"en", "2007 10 10 10:10:10", "2007 11 10 10:10:10", "EEEEdMMMMy", "Wednesday, October 10 \\u2013 Saturday, November 10, 2007",
|
||||
|
||||
@ -144,13 +144,13 @@ public class DateIntervalFormatTest extends com.ibm.icu.dev.test.TestFmwk {
|
||||
|
||||
"en", "2007 10 10 10:10:10", "2007 11 10 10:10:10", "EdMMM", "Wed, Oct 10 \\u2013 Sat, Nov 10",
|
||||
|
||||
"en", "2007 10 10 10:10:10", "2007 11 10 10:10:10", "EdMy", "Wed, 10/10/07 \\u2013 Sat, 11/10/07",
|
||||
"en", "2007 10 10 10:10:10", "2007 11 10 10:10:10", "EdMy", "Wed, 10/10/2007 \\u2013 Sat, 11/10/2007",
|
||||
|
||||
"en", "2007 10 10 10:10:10", "2007 11 10 10:10:10", "dMy", "10/10/07 \\u2013 11/10/07",
|
||||
"en", "2007 10 10 10:10:10", "2007 11 10 10:10:10", "dMy", "10/10/2007 \\u2013 11/10/2007",
|
||||
|
||||
"en", "2007 10 10 10:10:10", "2007 11 10 10:10:10", "dM", "10/10 \\u2013 11/10",
|
||||
|
||||
"en", "2007 10 10 10:10:10", "2007 11 10 10:10:10", "My", "10/07 \\u2013 11/07",
|
||||
"en", "2007 10 10 10:10:10", "2007 11 10 10:10:10", "My", "10/2007 \\u2013 11/2007",
|
||||
|
||||
"en", "2007 10 10 10:10:10", "2007 11 10 10:10:10", "EdM", "Wed, 10/10 \\u2013 Sat, 11/10",
|
||||
|
||||
@ -178,9 +178,9 @@ public class DateIntervalFormatTest extends com.ibm.icu.dev.test.TestFmwk {
|
||||
|
||||
"en", "2007 10 10 10:10:10", "2007 11 10 10:10:10", "hz", "10/10/2007, 10 AM PDT \\u2013 11/10/2007, 10 AM PST",
|
||||
|
||||
"en", "2007 10 10 10:10:10", "2007 11 10 10:10:10", "EEddMMyyyy", "Wed, 10/10/07 \\u2013 Sat, 11/10/07",
|
||||
"en", "2007 10 10 10:10:10", "2007 11 10 10:10:10", "EEddMMyyyy", "Wed, 10/10/2007 \\u2013 Sat, 11/10/2007",
|
||||
|
||||
"en", "2007 10 10 10:10:10", "2007 11 10 10:10:10", "EddMMy", "Wed, 10/10/07 \\u2013 Sat, 11/10/07",
|
||||
"en", "2007 10 10 10:10:10", "2007 11 10 10:10:10", "EddMMy", "Wed, 10/10/2007 \\u2013 Sat, 11/10/2007",
|
||||
|
||||
"en", "2007 10 10 10:10:10", "2007 11 10 10:10:10", "hhmm", "10/10/2007, 10:10 AM \\u2013 11/10/2007, 10:10 AM",
|
||||
|
||||
@ -211,9 +211,9 @@ public class DateIntervalFormatTest extends com.ibm.icu.dev.test.TestFmwk {
|
||||
|
||||
"en", "2007 11 10 10:10:10", "2007 11 20 10:10:10", "EdMMM", "Sat, Nov 10 \\u2013 Tue, Nov 20",
|
||||
|
||||
"en", "2007 11 10 10:10:10", "2007 11 20 10:10:10", "EdMy", "Sat, 11/10/07 \\u2013 Tue, 11/20/07",
|
||||
"en", "2007 11 10 10:10:10", "2007 11 20 10:10:10", "EdMy", "Sat, 11/10/2007 \\u2013 Tue, 11/20/2007",
|
||||
|
||||
"en", "2007 11 10 10:10:10", "2007 11 20 10:10:10", "dMy", "11/10/07 \\u2013 11/20/07",
|
||||
"en", "2007 11 10 10:10:10", "2007 11 20 10:10:10", "dMy", "11/10/2007 \\u2013 11/20/2007",
|
||||
|
||||
"en", "2007 11 10 10:10:10", "2007 11 20 10:10:10", "dM", "11/10 \\u2013 11/20",
|
||||
|
||||
@ -235,9 +235,9 @@ public class DateIntervalFormatTest extends com.ibm.icu.dev.test.TestFmwk {
|
||||
|
||||
"en", "2007 11 10 10:10:10", "2007 11 20 10:10:10", "hz", "11/10/2007, 10 AM PST \\u2013 11/20/2007, 10 AM PST",
|
||||
|
||||
"en", "2007 11 10 10:10:10", "2007 11 20 10:10:10", "EEddMMyyyy", "Sat, 11/10/07 \\u2013 Tue, 11/20/07",
|
||||
"en", "2007 11 10 10:10:10", "2007 11 20 10:10:10", "EEddMMyyyy", "Sat, 11/10/2007 \\u2013 Tue, 11/20/2007",
|
||||
|
||||
"en", "2007 11 10 10:10:10", "2007 11 20 10:10:10", "EddMMy", "Sat, 11/10/07 \\u2013 Tue, 11/20/07",
|
||||
"en", "2007 11 10 10:10:10", "2007 11 20 10:10:10", "EddMMy", "Sat, 11/10/2007 \\u2013 Tue, 11/20/2007",
|
||||
|
||||
"en", "2007 11 10 10:10:10", "2007 11 20 10:10:10", "hhmm", "11/10/2007, 10:10 AM \\u2013 11/20/2007, 10:10 AM",
|
||||
|
||||
@ -430,9 +430,9 @@ public class DateIntervalFormatTest extends com.ibm.icu.dev.test.TestFmwk {
|
||||
|
||||
"zh", "2007 11 10 10:10:10", "2007 11 20 10:10:10", "EdMMM", "11\\u670810\\u65e5\\u5468\\u516d\\u81f320\\u65e5\\u5468\\u4e8c",
|
||||
|
||||
"zh", "2007 11 10 10:10:10", "2007 11 20 10:10:10", "EdMy", "07/11/10\\u5468\\u516d\\u81f307/11/20\\u5468\\u4e8c",
|
||||
"zh", "2007 11 10 10:10:10", "2007 11 20 10:10:10", "EdMy", "2007/11/10\\u5468\\u516d\\u81f32007/11/20\\u5468\\u4e8c",
|
||||
|
||||
"zh", "2007 11 10 10:10:10", "2007 11 20 10:10:10", "dMy", "07/11/10 \\u2013 07/11/20",
|
||||
"zh", "2007 11 10 10:10:10", "2007 11 20 10:10:10", "dMy", "2007/11/10 \\u2013 2007/11/20",
|
||||
|
||||
"zh", "2007 11 10 10:10:10", "2007 11 20 10:10:10", "dM", "11/10 \\u2013 11/20",
|
||||
|
||||
@ -493,21 +493,21 @@ public class DateIntervalFormatTest extends com.ibm.icu.dev.test.TestFmwk {
|
||||
|
||||
"de", "2007 10 10 10:10:10", "2008 10 10 10:10:10", "EEEdMMM", "Mi., 10. Okt. 2007 - Fr., 10. Okt. 2008",
|
||||
|
||||
"de", "2007 10 10 10:10:10", "2008 10 10 10:10:10", "EdMy", "Mi., 10.10.07 - Fr., 10.10.08",
|
||||
"de", "2007 10 10 10:10:10", "2008 10 10 10:10:10", "EdMy", "Mi., 10.10.2007 - Fr., 10.10.2008",
|
||||
|
||||
"de", "2007 10 10 10:10:10", "2008 10 10 10:10:10", "dMy", "10.10.07 - 10.10.08",
|
||||
"de", "2007 10 10 10:10:10", "2008 10 10 10:10:10", "dMy", "10.10.2007 - 10.10.2008",
|
||||
|
||||
"de", "2007 10 10 10:10:10", "2008 10 10 10:10:10", "dM", "10.10.07 - 10.10.08",
|
||||
"de", "2007 10 10 10:10:10", "2008 10 10 10:10:10", "dM", "10.10.2007 - 10.10.2008",
|
||||
|
||||
"de", "2007 10 10 10:10:10", "2008 10 10 10:10:10", "My", "10.07 - 10.08",
|
||||
"de", "2007 10 10 10:10:10", "2008 10 10 10:10:10", "My", "10.2007 - 10.2008",
|
||||
|
||||
"de", "2007 10 10 10:10:10", "2008 10 10 10:10:10", "EdM", "Mi., 10.10.07 - Fr., 10.10.08",
|
||||
"de", "2007 10 10 10:10:10", "2008 10 10 10:10:10", "EdM", "Mi., 10.10.2007 - Fr., 10.10.2008",
|
||||
|
||||
"de", "2007 10 10 10:10:10", "2008 10 10 10:10:10", "d", "10.10.07 - 10.10.08",
|
||||
"de", "2007 10 10 10:10:10", "2008 10 10 10:10:10", "d", "10.10.2007 - 10.10.2008",
|
||||
|
||||
"de", "2007 10 10 10:10:10", "2008 10 10 10:10:10", "y", "2007-2008",
|
||||
|
||||
"de", "2007 10 10 10:10:10", "2008 10 10 10:10:10", "M", "10.07 - 10.08",
|
||||
"de", "2007 10 10 10:10:10", "2008 10 10 10:10:10", "M", "10.2007 - 10.2008",
|
||||
|
||||
"de", "2007 10 10 10:10:10", "2008 10 10 10:10:10", "MMM", "Okt. 2007 - Okt. 2008",
|
||||
|
||||
@ -525,11 +525,11 @@ public class DateIntervalFormatTest extends com.ibm.icu.dev.test.TestFmwk {
|
||||
|
||||
"de", "2007 10 10 10:10:10", "2007 11 10 10:10:10", "EEEEdMMM", "Mittwoch, 10. Okt. - Samstag, 10. Nov.",
|
||||
|
||||
"de", "2007 10 10 10:10:10", "2007 11 10 10:10:10", "EdMy", "Mi., 10.10.07 - Sa., 10.11.07",
|
||||
"de", "2007 10 10 10:10:10", "2007 11 10 10:10:10", "EdMy", "Mi., 10.10.2007 - Sa., 10.11.2007",
|
||||
|
||||
"de", "2007 10 10 10:10:10", "2007 11 10 10:10:10", "dM", "10.10. - 10.11.",
|
||||
|
||||
"de", "2007 10 10 10:10:10", "2007 11 10 10:10:10", "My", "10.07 - 11.07",
|
||||
"de", "2007 10 10 10:10:10", "2007 11 10 10:10:10", "My", "10.2007 - 11.2007",
|
||||
|
||||
"de", "2007 10 10 10:10:10", "2007 11 10 10:10:10", "EdM", "Mi., 10.10. - Sa., 10.11.",
|
||||
|
||||
@ -556,9 +556,9 @@ public class DateIntervalFormatTest extends com.ibm.icu.dev.test.TestFmwk {
|
||||
|
||||
"de", "2007 11 10 10:10:10", "2007 11 20 10:10:10", "EEEEdMMM", "Samstag, 10. - Dienstag, 20. Nov.",
|
||||
|
||||
"de", "2007 11 10 10:10:10", "2007 11 20 10:10:10", "EdMy", "Sa., 10.11.07 - Di., 20.11.07",
|
||||
"de", "2007 11 10 10:10:10", "2007 11 20 10:10:10", "EdMy", "Sa., 10.11.2007 - Di., 20.11.2007",
|
||||
|
||||
"de", "2007 11 10 10:10:10", "2007 11 20 10:10:10", "dMy", "10.11.07 - 20.11.07",
|
||||
"de", "2007 11 10 10:10:10", "2007 11 20 10:10:10", "dMy", "10.11.2007 - 20.11.2007",
|
||||
|
||||
"de", "2007 11 10 10:10:10", "2007 11 20 10:10:10", "dM", "10.11. - 20.11.",
|
||||
|
||||
@ -634,19 +634,19 @@ public class DateIntervalFormatTest extends com.ibm.icu.dev.test.TestFmwk {
|
||||
"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", "EdMy", "\\u0E1E. 10/10/50 - \\u0E28. 10/10/51",
|
||||
"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", "dMy", "10/10/50 - 10/10/51",
|
||||
"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", "My", "10/50 - 10/51",
|
||||
"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", "EdM", "\\u0E1E. 10/10/50 - \\u0E28. 10/10/51",
|
||||
"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", "y", "2550-2551",
|
||||
|
||||
"th", "2550 10 10 10:10:10", "2551 10 10 10:10:10", "M", "10/50 - 10/51",
|
||||
"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", "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",
|
||||
@ -658,7 +658,7 @@ public class DateIntervalFormatTest extends com.ibm.icu.dev.test.TestFmwk {
|
||||
|
||||
"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", "My", "10/50 - 11/50",
|
||||
"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", "d", "10/10 - 10/11",
|
||||
|
@ -1,6 +1,6 @@
|
||||
/*
|
||||
*******************************************************************************
|
||||
* Copyright (C) 2006-2012, Google, International Business Machines Corporation *
|
||||
* Copyright (C) 2006-2013, Google, International Business Machines Corporation *
|
||||
* and others. All Rights Reserved. *
|
||||
*******************************************************************************
|
||||
*/
|
||||
@ -286,21 +286,23 @@ public class DateTimeGeneratorTest extends TestFmwk {
|
||||
new String[] {"Ed", "13 Wed"},
|
||||
new String[] {"jmmssSSS", "11:58:59.123 PM"},
|
||||
new ULocale("en_US@calendar=japanese"), // (new locale for testing ticket 6872<-5702)
|
||||
new String[] {"yM", "1/11 H"},
|
||||
new String[] {"yMMM", "Jan 11 Heisei"},
|
||||
new String[] {"yMd", "1/13/11 H"},
|
||||
new String[] {"yMMMd", "Jan 13, 11 Heisei"},
|
||||
new String[] {"Md", "1/13"},
|
||||
// with current changes for CLDR #5385 this is getting data from root
|
||||
// will need to redo some of these when that is fixed
|
||||
new String[] {"yM", "H 11-01"}, // root style
|
||||
new String[] {"yMMM", "Heisei 11 Jan"}, // root style
|
||||
new String[] {"yMd", "H 11-01-13"}, // root style
|
||||
new String[] {"yMMMd", "Heisei 11 Jan 13"}, // root style
|
||||
new String[] {"Md", "01-13"}, // root style
|
||||
new String[] {"MMMd", "Jan 13"},
|
||||
new String[] {"MMMMd", "January 13"},
|
||||
new String[] {"yQQQ", "Q1 11 Heisei"},
|
||||
new String[] {"yQQQ", "Heisei 11 Q1"}, // root style
|
||||
new String[] {"hhmm", "11:58 PM"},
|
||||
new String[] {"HHmm", "23:58"},
|
||||
new String[] {"jjmm", "11:58 PM"},
|
||||
new String[] {"mmss", "58:59"},
|
||||
new String[] {"yyyyMMMM", "January 11 Heisei"},
|
||||
new String[] {"MMMEd", "Wed, Jan 13"},
|
||||
new String[] {"Ed", "13 Wed"},
|
||||
new String[] {"yyyyMMMM", "Heisei 11 January"}, // root style
|
||||
new String[] {"MMMEd", "Jan 13, Wed"}, // root style
|
||||
new String[] {"Ed", "13, Wed"}, // root style
|
||||
new String[] {"jmmssSSS", "11:58:59.123 PM"},
|
||||
new ULocale("de_DE"),
|
||||
new String[] {"yM", "1.1999"},
|
||||
@ -383,7 +385,7 @@ public class DateTimeGeneratorTest extends TestFmwk {
|
||||
new String[] {"HHmm", "23:58"},
|
||||
new String[] {"jjmm", "23:58"},
|
||||
new String[] {"mmss", "58:59"},
|
||||
new String[] {"yyyyMMMM", "\u5E73\u621011\u5E741\u6708"},
|
||||
new String[] {"yyyyMMMM", "\u5E73\u62100011\u5E741\u6708"},
|
||||
new String[] {"MMMEd", "1\u670813\u65E5(\u6C34)"},
|
||||
new String[] {"Ed", "13\u65E5\u6C34"},
|
||||
new String[] {"jmmssSSS", "23:58:59.123"},
|
||||
@ -417,7 +419,7 @@ public class DateTimeGeneratorTest extends TestFmwk {
|
||||
new String[] {"HHmm", "23:58"},
|
||||
new String[] {"jjmm", "\u4E0B\u534811:58"},
|
||||
new String[] {"mmss", "58:59"},
|
||||
new String[] {"yyyyMMMM", "\u6C11\u570B88\u5E741\u6708"},
|
||||
new String[] {"yyyyMMMM", "\u6C11\u570B0088\u5E741\u6708"},
|
||||
new String[] {"MMMEd", "1\u670813\u65E5\u9031\u4E09"},
|
||||
new String[] {"Ed", "13\u65E5\uFF08\u9031\u4E09\uFF09"},
|
||||
new String[] {"jmmssSSS", "\u4E0B\u534811:58:59.123"},
|
||||
|
@ -1,6 +1,6 @@
|
||||
/*
|
||||
*******************************************************************************
|
||||
* Copyright (C) 2001-2012, International Business Machines Corporation and *
|
||||
* Copyright (C) 2001-2013, International Business Machines Corporation and *
|
||||
* others. All Rights Reserved. *
|
||||
*******************************************************************************
|
||||
*/
|
||||
@ -689,7 +689,7 @@ public class NumberFormatTest extends com.ibm.icu.dev.test.TestFmwk {
|
||||
1234.56, "\u00A51,235"); // Yen
|
||||
|
||||
expectCurrency(fmt, Currency.getInstance(new Locale("fr", "CH", "")),
|
||||
1234.56, "CHF1,234.55"); // 0.05 rounding
|
||||
1234.56, "CHF1,234.56"); // no more 0.05 rounding here, see cldrbug 5548
|
||||
|
||||
expectCurrency(fmt, Currency.getInstance(Locale.US),
|
||||
1234.56, "$1,234.56");
|
||||
@ -702,7 +702,7 @@ public class NumberFormatTest extends com.ibm.icu.dev.test.TestFmwk {
|
||||
1234.56, "1 235 \u00A5JP"); // Yen
|
||||
|
||||
expectCurrency(fmt, Currency.getInstance(new Locale("fr", "CH", "")),
|
||||
1234.56, "1 234,55 CHF"); // 0.25 rounding
|
||||
1234.56, "1 234,56 CHF"); // no more rounding here, see cldrbug 5548
|
||||
|
||||
expectCurrency(fmt, Currency.getInstance(Locale.US),
|
||||
1234.56, "1 234,56 $US");
|
||||
|
Loading…
Reference in New Issue
Block a user