Skip to content

Commit 13cd144

Browse files
pedberg-icumihnita
authored andcommitted
ICU-23290 Integrate CLDR 48.1 beta1 to ICU maint-78, part 3: ICU code/test/tool mods
1 parent 0748e8f commit 13cd144

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

icu4c/source/test/intltest/dtifmtts.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2293,20 +2293,20 @@ void DateIntervalFormatTest::testTicket21222ROCEraDiff() {
22932293

22942294
formatted = roc->formatToValue(bothAfterMG, status);
22952295
assertEquals("roc calendar - both dates in MG Era",
2296-
u"民國1/1/2上午6時\u2009\u2013\u2009民國2/1/2上午6時",
2296+
u"民國1/1/2\u2009上午6時\u2009\u2013\u2009民國2/1/2\u2009上午6時",
22972297
formatted.toString(status));
22982298
getCategoryAndField(formatted, expectedCategory,
22992299
expectedField, status);
23002300

23012301
formatted = roc->formatToValue(beforeAfterMG, status);
23022302
assertEquals("roc calendar - prior MG Era and in MG Era",
2303-
u"民國前1/1/2上午6時\u2009\u2013\u2009民國2/1/2上午6時",
2303+
u"民國前1/1/2\u2009上午6時\u2009\u2013\u2009民國2/1/2\u2009上午6時",
23042304
formatted.toString(status));
23052305
verifyCategoryAndField(formatted, expectedCategory, expectedField, status);
23062306

23072307
formatted = roc->formatToValue(bothBeforeMG, status);
23082308
assertEquals("roc calendar - both dates prior MG Era",
2309-
u"民國前2/1/2上午6時\u2009\u2013\u2009民國前1/1/2上午6時",
2309+
u"民國前2/1/2\u2009上午6時\u2009\u2013\u2009民國前1/1/2\u2009上午6時",
23102310
formatted.toString(status));
23112311
verifyCategoryAndField(formatted, expectedCategory, expectedField, status);
23122312
}

icu4j/main/core/src/test/java/com/ibm/icu/dev/test/format/DateIntervalFormatTest.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2433,19 +2433,19 @@ public void testTicket21222ROCEraDiff() {
24332433

24342434
FormattedDateInterval formatted = roc.formatToValue(bothAfterMG);
24352435
assertEquals("roc calendar - both dates in MG Era",
2436-
"民國1/1/2上午6時\u2009\u2013\u2009民國2/1/2上午6時",
2436+
"民國1/1/2\u2009上午6時\u2009\u2013\u2009民國2/1/2\u2009上午6時",
24372437
formatted.toString());
24382438
List<Field> expectedFields = getFields(formatted);
24392439

24402440
formatted = roc.formatToValue(beforeAfterMG);
24412441
assertEquals("roc calendar - prior MG Era and in MG Era",
2442-
"民國前1/1/2上午6時\u2009\u2013\u2009民國2/1/2上午6時",
2442+
"民國前1/1/2\u2009上午6時\u2009\u2013\u2009民國2/1/2\u2009上午6時",
24432443
formatted.toString());
24442444
verifyFields(formatted, expectedFields);
24452445

24462446
formatted = roc.formatToValue(bothBeforeMG);
24472447
assertEquals("roc calendar - both dates prior MG Era",
2448-
"民國前2/1/2上午6時\u2009\u2013\u2009民國前1/1/2上午6時",
2448+
"民國前2/1/2\u2009上午6時\u2009\u2013\u2009民國前1/1/2\u2009上午6時",
24492449
formatted.toString());
24502450
verifyFields(formatted, expectedFields);
24512451
}

tools/cldr/cldr-to-icu/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
for the icu4j.version tag to use. In general we should just use the latest
2525
SNAPSHOT for the ICU version that we want, so this should only need updating
2626
when the ICU version changes e.g. from 74.0.1, to 74.1, then to 75.0.1 -->
27-
<icu4j.version>78.1</icu4j.version>
27+
<icu4j.version>78.2</icu4j.version>
2828
<cldr-code.version>48.0</cldr-code.version>
2929
<guava.version>32.1.1-jre</guava.version>
3030
<truth.version>1.4.4</truth.version>

0 commit comments

Comments
 (0)