From 0ff9cf8f7c4c80fdcb20867b3c664ea8953ede2c Mon Sep 17 00:00:00 2001 From: Ram Viswanadha Date: Mon, 31 Jul 2006 20:52:01 +0000 Subject: [PATCH] ICU-5008 promote draft APIs to stable X-SVN-Rev: 19934 --- icu4c/source/common/unicode/locid.h | 4 ++-- icu4c/source/common/unicode/uchar.h | 4 +--- icu4c/source/i18n/unicode/calendar.h | 2 +- icu4c/source/i18n/unicode/decimfmt.h | 2 +- icu4c/source/i18n/unicode/numfmt.h | 2 +- 5 files changed, 6 insertions(+), 8 deletions(-) diff --git a/icu4c/source/common/unicode/locid.h b/icu4c/source/common/unicode/locid.h index aba214aa239..6c9bbf76af4 100644 --- a/icu4c/source/common/unicode/locid.h +++ b/icu4c/source/common/unicode/locid.h @@ -1,7 +1,7 @@ /* ****************************************************************************** * -* Copyright (C) 1996-2005, International Business Machines +* Copyright (C) 1996-2006, International Business Machines * Corporation and others. All Rights Reserved. * ****************************************************************************** @@ -367,7 +367,7 @@ public: * the string by calling uloc_canonicalize(). * @param name the locale ID to create from. Must not be NULL. * @return a new locale object corresponding to the given name - * @draft ICU 3.0 + * @stable ICU 3.0 * @see uloc_canonicalize */ static Locale U_EXPORT2 createCanonical(const char* name); diff --git a/icu4c/source/common/unicode/uchar.h b/icu4c/source/common/unicode/uchar.h index 8c9419f130a..ce5fc4f4805 100644 --- a/icu4c/source/common/unicode/uchar.h +++ b/icu4c/source/common/unicode/uchar.h @@ -1526,10 +1526,8 @@ typedef enum ULineBreak { U_LB_HYPHEN = 13, /*[HY]*/ U_LB_IDEOGRAPHIC = 14, /*[ID]*/ U_LB_INSEPERABLE = 15, -#ifndef U_HIDE_DRAFT_API - /** Renamed from the misspelled "inseperable" in Unicode 4.0.1/ICU 3.0 @draft ICU 3.0 */ + /** Renamed from the misspelled "inseperable" in Unicode 4.0.1/ICU 3.0 @stable ICU 3.0 */ U_LB_INSEPARABLE=U_LB_INSEPERABLE,/*[IN]*/ -#endif /*U_HIDE_DRAFT_API*/ U_LB_INFIX_NUMERIC = 16, /*[IS]*/ U_LB_LINE_FEED = 17, /*[LF]*/ U_LB_NONSTARTER = 18, /*[NS]*/ diff --git a/icu4c/source/i18n/unicode/calendar.h b/icu4c/source/i18n/unicode/calendar.h index 3a35608ec67..14fdd817d88 100644 --- a/icu4c/source/i18n/unicode/calendar.h +++ b/icu4c/source/i18n/unicode/calendar.h @@ -1587,7 +1587,7 @@ protected: * computed. This occurs only in setTimeInMillis(). A calendar set * to this state will compute all fields from the time if it becomes * necessary, but otherwise will delay such computation. - * @draft ICU 3.0 + * @stable ICU 3.0 */ UBool fAreFieldsVirtuallySet; diff --git a/icu4c/source/i18n/unicode/decimfmt.h b/icu4c/source/i18n/unicode/decimfmt.h index 81b03078c97..15a80342bd2 100644 --- a/icu4c/source/i18n/unicode/decimfmt.h +++ b/icu4c/source/i18n/unicode/decimfmt.h @@ -1604,7 +1604,7 @@ public: * to use. It need not be null-terminated. May be the empty * string or NULL to indicate no currency. * @param ec input-output error code - * @draft ICU 3.0 + * @stable ICU 3.0 */ virtual void setCurrency(const UChar* theCurrency, UErrorCode& ec); diff --git a/icu4c/source/i18n/unicode/numfmt.h b/icu4c/source/i18n/unicode/numfmt.h index 41a81057ab9..b27ed470819 100644 --- a/icu4c/source/i18n/unicode/numfmt.h +++ b/icu4c/source/i18n/unicode/numfmt.h @@ -642,7 +642,7 @@ public: * to use. It need not be null-terminated. May be the empty * string or NULL to indicate no currency. * @param ec input-output error code - * @draft ICU 3.0 + * @stable ICU 3.0 */ virtual void setCurrency(const UChar* theCurrency, UErrorCode& ec);