Bug 1792775 - Part 8: Remove no longer needed ICU draft API guards. r=platform-i18n-reviewers,jfkthame

`UDAT_STANDALONE_NARROW_QUARTERS` has been promoted from draft to stable.

Differential Revision: https://phabricator.services.mozilla.com/D160186
This commit is contained in:
André Bargull 2022-11-23 10:42:43 +00:00
Родитель 8fb15ffe9d
Коммит 4a0ac37d47
2 изменённых файлов: 0 добавлений и 6 удалений

Просмотреть файл

@ -108,10 +108,8 @@ static bool IsStandaloneMonth(UDateFormatSymbolType symbolType) {
case UDAT_ZODIAC_NAMES_WIDE:
case UDAT_ZODIAC_NAMES_ABBREVIATED:
case UDAT_ZODIAC_NAMES_NARROW:
# ifndef U_HIDE_DRAFT_API
case UDAT_NARROW_QUARTERS:
case UDAT_STANDALONE_NARROW_QUARTERS:
# endif
return false;
}

Просмотреть файл

@ -820,11 +820,7 @@ class DisplayNames final {
break;
case DisplayNames::Style::Narrow:
#ifndef U_HIDE_DRAFT_API
symbolType = UDAT_STANDALONE_NARROW_QUARTERS;
#else
symbolType = UDAT_STANDALONE_SHORT_QUARTERS;
#endif
break;
}