diff --git a/icu4c/source/test/cintltst/cdateintervalformattest.c b/icu4c/source/test/cintltst/cdateintervalformattest.c index eb3877e7e0f..513989ac6bb 100644 --- a/icu4c/source/test/cintltst/cdateintervalformattest.c +++ b/icu4c/source/test/cintltst/cdateintervalformattest.c @@ -74,6 +74,7 @@ static const DateIntervalFormatTestItem testItems[] = { { "cs", "MMMEd", CAP_NONE, tzUSPacific, Date201009270800, Date201009270800 + 60.0*_DAY, "po 27. 9. \\u2013 p\\u00E1 26. 11." }, { "cs", "yMMMM", CAP_NONE, tzUSPacific, Date201009270800, Date201009270800 + 60.0*_DAY, "z\\u00E1\\u0159\\u00ED\\u2013listopad 2010" }, { "cs", "yMMMM", CAP_NONE, tzUSPacific, Date201009270800, Date201009270800 + 1.0*_DAY, "z\\u00E1\\u0159\\u00ED 2010" }, +#if !UCONFIG_NO_BREAK_ITERATION { "cs", "MMMEd", CAP_BEGIN, tzUSPacific, Date201009270800, Date201009270800 + 60.0*_DAY, "Po 27. 9. \\u2013 p\\u00E1 26. 11." }, { "cs", "yMMMM", CAP_BEGIN, tzUSPacific, Date201009270800, Date201009270800 + 60.0*_DAY, "Z\\u00E1\\u0159\\u00ED\\u2013listopad 2010" }, { "cs", "yMMMM", CAP_BEGIN, tzUSPacific, Date201009270800, Date201009270800 + 1.0*_DAY, "Z\\u00E1\\u0159\\u00ED 2010" }, @@ -81,6 +82,7 @@ static const DateIntervalFormatTestItem testItems[] = { { "cs", "yMMMM", CAP_LIST, tzUSPacific, Date201009270800, Date201009270800 + 60.0*_DAY, "Z\\u00E1\\u0159\\u00ED\\u2013listopad 2010" }, { "cs", "yMMMM", CAP_LIST, tzUSPacific, Date201009270800, Date201009270800 + 1.0*_DAY, "Z\\u00E1\\u0159\\u00ED 2010" }, { "cs", "MMMEd", CAP_ALONE, tzUSPacific, Date201009270800, Date201009270800 + 60.0*_DAY, "po 27. 9. \\u2013 p\\u00E1 26. 11." }, +#endif { "cs", "yMMMM", CAP_ALONE, tzUSPacific, Date201009270800, Date201009270800 + 60.0*_DAY, "z\\u00E1\\u0159\\u00ED\\u2013listopad 2010" }, { "cs", "yMMMM", CAP_ALONE, tzUSPacific, Date201009270800, Date201009270800 + 1.0*_DAY, "z\\u00E1\\u0159\\u00ED 2010" }, { NULL, NULL, CAP_NONE, NULL, 0, 0, NULL } diff --git a/icu4c/source/test/intltest/dtifmtts.cpp b/icu4c/source/test/intltest/dtifmtts.cpp index cc91257ce80..a1b1152face 100644 --- a/icu4c/source/test/intltest/dtifmtts.cpp +++ b/icu4c/source/test/intltest/dtifmtts.cpp @@ -1298,12 +1298,14 @@ void DateIntervalFormatTest::testContext() { { "cs", "MMMEd", CAP_NONE, 60.0*_DAY, u"po 27. 9. – pá 26. 11." }, { "cs", "yMMMM", CAP_NONE, 60.0*_DAY, u"září–listopad 2010" }, { "cs", "yMMMM", CAP_NONE, 1.0*_DAY, u"září 2010" }, +#if !UCONFIG_NO_BREAK_ITERATION { "cs", "MMMEd", CAP_BEGIN, 60.0*_DAY, u"Po 27. 9. – pá 26. 11." }, { "cs", "yMMMM", CAP_BEGIN, 60.0*_DAY, u"Září–listopad 2010" }, { "cs", "yMMMM", CAP_BEGIN, 1.0*_DAY, u"Září 2010" }, { "cs", "MMMEd", CAP_LIST, 60.0*_DAY, u"Po 27. 9. – pá 26. 11." }, { "cs", "yMMMM", CAP_LIST, 60.0*_DAY, u"Září–listopad 2010" }, { "cs", "yMMMM", CAP_LIST, 1.0*_DAY, u"Září 2010" }, +#endif { "cs", "MMMEd", CAP_ALONE, 60.0*_DAY, u"po 27. 9. – pá 26. 11." }, { "cs", "yMMMM", CAP_ALONE, 60.0*_DAY, u"září–listopad 2010" }, { "cs", "yMMMM", CAP_ALONE, 1.0*_DAY, u"září 2010" },