diff options
Diffstat (limited to 'deps/icu-small/source/i18n/unicode/udatpg.h')
-rw-r--r-- | deps/icu-small/source/i18n/unicode/udatpg.h | 16 |
1 files changed, 6 insertions, 10 deletions
diff --git a/deps/icu-small/source/i18n/unicode/udatpg.h b/deps/icu-small/source/i18n/unicode/udatpg.h index 54f1254346..238a27b4f4 100644 --- a/deps/icu-small/source/i18n/unicode/udatpg.h +++ b/deps/icu-small/source/i18n/unicode/udatpg.h @@ -95,20 +95,18 @@ typedef enum UDateTimePatternField { UDATPG_FIELD_COUNT } UDateTimePatternField; -#ifndef U_HIDE_DRAFT_API /** * Field display name width constants for udatpg_getFieldDisplayName(). - * @draft ICU 61 + * @stable ICU 61 */ typedef enum UDateTimePGDisplayWidth { - /** @draft ICU 61 */ + /** @stable ICU 61 */ UDATPG_WIDE, - /** @draft ICU 61 */ + /** @stable ICU 61 */ UDATPG_ABBREVIATED, - /** @draft ICU 61 */ + /** @stable ICU 61 */ UDATPG_NARROW } UDateTimePGDisplayWidth; -#endif // U_HIDE_DRAFT_API /** * Masks to control forcing the length of specified fields in the returned @@ -440,7 +438,6 @@ udatpg_getAppendItemName(const UDateTimePatternGenerator *dtpg, UDateTimePatternField field, int32_t *pLength); -#ifndef U_HIDE_DRAFT_API /** * The general interface to get a display name for a particular date/time field, * in one of several possible display widths. @@ -464,15 +461,14 @@ udatpg_getAppendItemName(const UDateTimePatternGenerator *dtpg, * @return * The full length of the name; if greater than capacity, fieldName contains a * truncated result. - * @draft ICU 61 + * @stable ICU 61 */ -U_DRAFT int32_t U_EXPORT2 +U_STABLE int32_t U_EXPORT2 udatpg_getFieldDisplayName(const UDateTimePatternGenerator *dtpg, UDateTimePatternField field, UDateTimePGDisplayWidth width, UChar *fieldName, int32_t capacity, UErrorCode *pErrorCode); -#endif // U_HIDE_DRAFT_API /** * The DateTimeFormat is a message format pattern used to compose date and |