]> git.saurik.com Git - apple/icu.git/blobdiff - icuSources/i18n/unicode/udatpg.h
ICU-64232.0.1.tar.gz
[apple/icu.git] / icuSources / i18n / unicode / udatpg.h
index a5e2220dc6a281c33775c8f0438a8bb96b1bbc4d..07339bbc4b8e2534cebb5a2ef0feafda8586bd0a 100644 (file)
@@ -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
@@ -446,7 +444,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.
@@ -470,15 +467,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