ICU-11728 First cut CLDR 28 data integration

X-SVN-Rev: 37523
This commit is contained in:
John Emmons 2015-06-10 18:20:27 +00:00
parent 1b083389a4
commit c9e710c42b
6 changed files with 15 additions and 15 deletions

View file

@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:49e15d8a9e4ed0af649bc576eb05631b754373278842a03206f4700d2529dc5d
size 11888181
oid sha256:5d61a2d4d3b508f9a36686f637e8771c32ee636b84d0db9727e2e481fbf76848
size 11869271

View file

@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:7a2ad4bf65fa28b325148049157ec3818a913565f51d15970a26a57c5e3e579b
oid sha256:e6d91bb6f13ba609268ad9ae3cb618696a6fcfc5bc85b696a4c2e33d1ab9b47e
size 90196

View file

@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:796d54f919ee0205702da7956579461ba6bd7c3a1e6f4affb2d1ac46308a01e2
size 812496
oid sha256:b9376e286bad083bdee6543e19f19c53fb674a801fd260744436fb403ef8315b
size 813936

View file

@ -2016,7 +2016,7 @@ public class DateFormatTest extends com.ibm.icu.dev.test.TestFmwk {
dfArab.setTimeZone(tz);
dfLatn.setTimeZone(tz);
String expectedArab = "\u0669\u060C\u0665\u0662 \u0645";
String expectedArab = "\u0669:\u0665\u0662 \u0645";
String expectedLatn = "9:52 \u0645";
String actualArab = dfArab.format(date);

View file

@ -776,10 +776,10 @@ public class MeasureUnitTest extends TestFmwk {
{FormatWidth.WIDE, 2.0, MeasureUnit.MINUTE, "2 pounds per minute", DONT_CARE, 0, 0},
// per unit
{FormatWidth.SHORT, 1.0, MeasureUnit.SECOND, "1 lbps", DONT_CARE, 0, 0},
{FormatWidth.SHORT, 2.0, MeasureUnit.SECOND, "2 lbps", DONT_CARE, 0, 0},
{FormatWidth.SHORT, 2.0, MeasureUnit.SECOND, "2 lbsps", DONT_CARE, 0, 0},
// compound
{FormatWidth.SHORT, 1.0, MeasureUnit.MINUTE, "1 lb/min", DONT_CARE, 0, 0},
{FormatWidth.SHORT, 2.0, MeasureUnit.MINUTE, "2 lb/min", DONT_CARE, 0, 0},
{FormatWidth.SHORT, 2.0, MeasureUnit.MINUTE, "2 lbs/min", DONT_CARE, 0, 0},
// per unit
{FormatWidth.NARROW, 1.0, MeasureUnit.SECOND, "1#/s", DONT_CARE, 0, 0},
{FormatWidth.NARROW, 2.0, MeasureUnit.SECOND, "2#/s", DONT_CARE, 0, 0},
@ -787,10 +787,10 @@ public class MeasureUnitTest extends TestFmwk {
{FormatWidth.NARROW, 1.0, MeasureUnit.MINUTE, "1#/m", DONT_CARE, 0, 0},
{FormatWidth.NARROW, 2.0, MeasureUnit.MINUTE, "2#/m", DONT_CARE, 0, 0},
// field positions
{FormatWidth.SHORT, 23.3, MeasureUnit.SECOND, "23.3 lbps", NumberFormat.Field.DECIMAL_SEPARATOR, 2, 3},
{FormatWidth.SHORT, 23.3, MeasureUnit.SECOND, "23.3 lbps", NumberFormat.Field.INTEGER, 0, 2},
{FormatWidth.SHORT, 23.3, MeasureUnit.MINUTE, "23.3 lb/min", NumberFormat.Field.DECIMAL_SEPARATOR, 2, 3},
{FormatWidth.SHORT, 23.3, MeasureUnit.MINUTE, "23.3 lb/min", NumberFormat.Field.INTEGER, 0, 2},
{FormatWidth.SHORT, 23.3, MeasureUnit.SECOND, "23.3 lbsps", NumberFormat.Field.DECIMAL_SEPARATOR, 2, 3},
{FormatWidth.SHORT, 23.3, MeasureUnit.SECOND, "23.3 lbsps", NumberFormat.Field.INTEGER, 0, 2},
{FormatWidth.SHORT, 23.3, MeasureUnit.MINUTE, "23.3 lbs/min", NumberFormat.Field.DECIMAL_SEPARATOR, 2, 3},
{FormatWidth.SHORT, 23.3, MeasureUnit.MINUTE, "23.3 lbs/min", NumberFormat.Field.INTEGER, 0, 2},
};

View file

@ -1032,9 +1032,9 @@ public class NumberFormatTest extends com.ibm.icu.dev.test.TestFmwk {
{"zh_CN", "1234.56", "USD", "US$\u00A01,234.56", "USD\u00A01,234.56", "1,234.56美元"},
{"zh_CN", "1", "CNY", "\u00A01.00", "CNY\u00A01.00", "1.00人民币"},
{"zh_CN", "1234.56", "CNY", "\u00A01,234.56", "CNY\u00A01,234.56", "1,234.56人民币"},
{"ru_RU", "1", "RUB", "1,00 руб.", "1,00 RUB", "1,00 российского рубля"},
{"ru_RU", "2", "RUB", "2,00 руб.", "2,00 RUB", "2,00 российского рубля"},
{"ru_RU", "5", "RUB", "5,00 руб.", "5,00 RUB", "5,00 российского рубля"},
{"ru_RU", "1", "RUB", "1,00 \u20BD", "1,00 RUB", "1,00 российского рубля"},
{"ru_RU", "2", "RUB", "2,00 \u20BD", "2,00 RUB", "2,00 российского рубля"},
{"ru_RU", "5", "RUB", "5,00 \u20BD", "5,00 RUB", "5,00 российского рубля"},
// test locale without currency information
{"root", "-1.23", "USD", "-US$ 1.23", "-USD 1.23", "-1.23 USD"},
{"root@numbers=latn", "-1.23", "USD", "-US$ 1.23", "-USD 1.23", "-1.23 USD"}, // ensure that the root locale is still used with modifiers