Index: source/i18n/unicode/udisplaycontext.h |
diff --git a/source/i18n/unicode/udisplaycontext.h b/source/i18n/unicode/udisplaycontext.h |
index 92b2f94a491dcceecd33be715195a43474952fed..c04f374978dfc3c828e19d4a912d7c494224aa22 100644 |
--- a/source/i18n/unicode/udisplaycontext.h |
+++ b/source/i18n/unicode/udisplaycontext.h |
@@ -1,6 +1,6 @@ |
/* |
***************************************************************************************** |
-* Copyright (C) 2014, International Business Machines |
+* Copyright (C) 2014-2015, International Business Machines |
* Corporation and others. All Rights Reserved. |
***************************************************************************************** |
*/ |
@@ -35,16 +35,13 @@ enum UDisplayContextType { |
* UDISPCTX_CAPITALIZATION_FOR_BEGINNING_OF_SENTENCE, etc. |
* @stable ICU 51 |
*/ |
- UDISPCTX_TYPE_CAPITALIZATION = 1 |
-#ifndef U_HIDE_DRAFT_API |
- , |
+ UDISPCTX_TYPE_CAPITALIZATION = 1, |
/** |
* Type to retrieve the display length setting, e.g. |
* UDISPCTX_LENGTH_FULL, UDISPCTX_LENGTH_SHORT. |
- * @draft ICU 54 |
+ * @stable ICU 54 |
*/ |
UDISPCTX_TYPE_DISPLAY_LENGTH = 2 |
-#endif /* U_HIDE_DRAFT_API */ |
}; |
/** |
* @stable ICU 51 |
@@ -115,9 +112,7 @@ enum UDisplayContext { |
* isolated name on a calendar page. |
* @stable ICU 51 |
*/ |
- UDISPCTX_CAPITALIZATION_FOR_STANDALONE = (UDISPCTX_TYPE_CAPITALIZATION<<8) + 4 |
-#ifndef U_HIDE_DRAFT_API |
- , |
+ UDISPCTX_CAPITALIZATION_FOR_STANDALONE = (UDISPCTX_TYPE_CAPITALIZATION<<8) + 4, |
/** |
* ================================ |
* DISPLAY_LENGTH can be set to one of UDISPCTX_LENGTH_FULL or |
@@ -128,17 +123,16 @@ enum UDisplayContext { |
* A possible setting for DISPLAY_LENGTH: |
* use full names when generating a locale name, |
* e.g. "United States" for US. |
- * @draft ICU 54 |
+ * @stable ICU 54 |
*/ |
UDISPCTX_LENGTH_FULL = (UDISPCTX_TYPE_DISPLAY_LENGTH<<8) + 0, |
/** |
* A possible setting for DISPLAY_LENGTH: |
* use short names when generating a locale name, |
* e.g. "U.S." for US. |
- * @draft ICU 54 |
+ * @stable ICU 54 |
*/ |
UDISPCTX_LENGTH_SHORT = (UDISPCTX_TYPE_DISPLAY_LENGTH<<8) + 1 |
-#endif /* U_HIDE_DRAFT_API */ |
}; |
/** |
* @stable ICU 51 |