ICU-2087 add "ICU 2.0" to versionless @stable tags, and add "ICU" to @stable tags that lack it

X-SVN-Rev: 10488
This commit is contained in:
Alan Liu 2002-12-05 00:30:16 +00:00
parent b49e09af34
commit b00b17ebd1
14 changed files with 253 additions and 253 deletions

View file

@ -284,48 +284,48 @@ public:
#endif /* ICU_LOCID_USE_DEPRECATES */
/** Useful constant for this language. @stable */
/** Useful constant for this language. @stable ICU 2.0 */
static const Locale &getEnglish(void);
/** Useful constant for this language. @stable */
/** Useful constant for this language. @stable ICU 2.0 */
static const Locale &getFrench(void);
/** Useful constant for this language. @stable */
/** Useful constant for this language. @stable ICU 2.0 */
static const Locale &getGerman(void);
/** Useful constant for this language. @stable */
/** Useful constant for this language. @stable ICU 2.0 */
static const Locale &getItalian(void);
/** Useful constant for this language. @stable */
/** Useful constant for this language. @stable ICU 2.0 */
static const Locale &getJapanese(void);
/** Useful constant for this language. @stable */
/** Useful constant for this language. @stable ICU 2.0 */
static const Locale &getKorean(void);
/** Useful constant for this language. @stable */
/** Useful constant for this language. @stable ICU 2.0 */
static const Locale &getChinese(void);
/** Useful constant for this language. @stable */
/** Useful constant for this language. @stable ICU 2.0 */
static const Locale &getSimplifiedChinese(void);
/** Useful constant for this language. @stable */
/** Useful constant for this language. @stable ICU 2.0 */
static const Locale &getTraditionalChinese(void);
/** Useful constant for this country/region. @stable */
/** Useful constant for this country/region. @stable ICU 2.0 */
static const Locale &getFrance(void);
/** Useful constant for this country/region. @stable */
/** Useful constant for this country/region. @stable ICU 2.0 */
static const Locale &getGermany(void);
/** Useful constant for this country/region. @stable */
/** Useful constant for this country/region. @stable ICU 2.0 */
static const Locale &getItaly(void);
/** Useful constant for this country/region. @stable */
/** Useful constant for this country/region. @stable ICU 2.0 */
static const Locale &getJapan(void);
/** Useful constant for this country/region. @stable */
/** Useful constant for this country/region. @stable ICU 2.0 */
static const Locale &getKorea(void);
/** Useful constant for this country/region. @stable */
/** Useful constant for this country/region. @stable ICU 2.0 */
static const Locale &getChina(void);
/** Useful constant for this country/region. @stable */
/** Useful constant for this country/region. @stable ICU 2.0 */
static const Locale &getPRC(void);
/** Useful constant for this country/region. @stable */
/** Useful constant for this country/region. @stable ICU 2.0 */
static const Locale &getTaiwan(void);
/** Useful constant for this country/region. @stable */
/** Useful constant for this country/region. @stable ICU 2.0 */
static const Locale &getUK(void);
/** Useful constant for this country/region. @stable */
/** Useful constant for this country/region. @stable ICU 2.0 */
static const Locale &getUS(void);
/** Useful constant for this country/region. @stable */
/** Useful constant for this country/region. @stable ICU 2.0 */
static const Locale &getCanada(void);
/** Useful constant for this country/region. @stable */
/** Useful constant for this country/region. @stable ICU 2.0 */
static const Locale &getCanadaFrench(void);

View file

@ -175,7 +175,7 @@ public:
operator=(const ResourceBundle& other);
/** Destructor.
* @stable
* @stable ICU 2.0
*/
~ResourceBundle();

View file

@ -368,15 +368,15 @@ typedef uint8_t UBiDiLevel;
* @stable ICU 2.0
*/
enum UBiDiDirection {
/** @memo All left-to-right text. This is a 0 value. @stable */
/** @memo All left-to-right text. This is a 0 value. @stable ICU 2.0 */
UBIDI_LTR,
/** @memo All right-to-left text. This is a 1 value. @stable */
/** @memo All right-to-left text. This is a 1 value. @stable ICU 2.0 */
UBIDI_RTL,
/** @memo Mixed-directional text. @stable */
/** @memo Mixed-directional text. @stable ICU 2.0 */
UBIDI_MIXED
};
/** @stable */
/** @stable ICU 2.0 */
typedef enum UBiDiDirection UBiDiDirection;
/**
@ -391,7 +391,7 @@ typedef enum UBiDiDirection UBiDiDirection;
*/
struct UBiDi;
/** @stable */
/** @stable ICU 2.0 */
typedef struct UBiDi UBiDi;
/**

View file

@ -61,14 +61,14 @@ U_CDECL_BEGIN
* Constants.
*/
/** The lowest Unicode code point value. Code points are non-negative. @stable */
/** The lowest Unicode code point value. Code points are non-negative. @stable ICU 2.0 */
#define UCHAR_MIN_VALUE 0
/**
* The highest Unicode code point value (scalar value) according to
* The Unicode Standard. This is a 21-bit value (20.1 bits, rounded up).
* For a single character, UChar32 is a simple type that can hold any code point value.
* @stable
* @stable ICU 2.0
*/
#define UCHAR_MAX_VALUE 0x10ffff
@ -348,69 +348,69 @@ typedef enum UCharCategory
{
/** See note !!. Comments of the form "Cn" are read by genpname. */
/** Non-category for unassigned and non-character code points. @stable */
/** Non-category for unassigned and non-character code points. @stable ICU 2.0 */
U_UNASSIGNED = 0,
/** Cn "Other, Not Assigned (no characters in [UnicodeData.txt] have this property)" (same as U_UNASSIGNED!) @stable */
/** Cn "Other, Not Assigned (no characters in [UnicodeData.txt] have this property)" (same as U_UNASSIGNED!) @stable ICU 2.0 */
U_GENERAL_OTHER_TYPES = 0,
/** Lu @stable */
/** Lu @stable ICU 2.0 */
U_UPPERCASE_LETTER = 1,
/** Ll @stable */
/** Ll @stable ICU 2.0 */
U_LOWERCASE_LETTER = 2,
/** Lt @stable */
/** Lt @stable ICU 2.0 */
U_TITLECASE_LETTER = 3,
/** Lm @stable */
/** Lm @stable ICU 2.0 */
U_MODIFIER_LETTER = 4,
/** Lo @stable */
/** Lo @stable ICU 2.0 */
U_OTHER_LETTER = 5,
/** Mn @stable */
/** Mn @stable ICU 2.0 */
U_NON_SPACING_MARK = 6,
/** Me @stable */
/** Me @stable ICU 2.0 */
U_ENCLOSING_MARK = 7,
/** Mc @stable */
/** Mc @stable ICU 2.0 */
U_COMBINING_SPACING_MARK = 8,
/** Nd @stable */
/** Nd @stable ICU 2.0 */
U_DECIMAL_DIGIT_NUMBER = 9,
/** Nl @stable */
/** Nl @stable ICU 2.0 */
U_LETTER_NUMBER = 10,
/** No @stable */
/** No @stable ICU 2.0 */
U_OTHER_NUMBER = 11,
/** Zs @stable */
/** Zs @stable ICU 2.0 */
U_SPACE_SEPARATOR = 12,
/** Zl @stable */
/** Zl @stable ICU 2.0 */
U_LINE_SEPARATOR = 13,
/** Zp @stable */
/** Zp @stable ICU 2.0 */
U_PARAGRAPH_SEPARATOR = 14,
/** Cc @stable */
/** Cc @stable ICU 2.0 */
U_CONTROL_CHAR = 15,
/** Cf @stable */
/** Cf @stable ICU 2.0 */
U_FORMAT_CHAR = 16,
/** Co @stable */
/** Co @stable ICU 2.0 */
U_PRIVATE_USE_CHAR = 17,
/** Cs @stable */
/** Cs @stable ICU 2.0 */
U_SURROGATE = 18,
/** Pd @stable */
/** Pd @stable ICU 2.0 */
U_DASH_PUNCTUATION = 19,
/** Ps @stable */
/** Ps @stable ICU 2.0 */
U_START_PUNCTUATION = 20,
/** Pe @stable */
/** Pe @stable ICU 2.0 */
U_END_PUNCTUATION = 21,
/** Pc @stable */
/** Pc @stable ICU 2.0 */
U_CONNECTOR_PUNCTUATION = 22,
/** Po @stable */
/** Po @stable ICU 2.0 */
U_OTHER_PUNCTUATION = 23,
/** Sm @stable */
/** Sm @stable ICU 2.0 */
U_MATH_SYMBOL = 24,
/** Sc @stable */
/** Sc @stable ICU 2.0 */
U_CURRENCY_SYMBOL = 25,
/** Sk @stable */
/** Sk @stable ICU 2.0 */
U_MODIFIER_SYMBOL = 26,
/** So @stable */
/** So @stable ICU 2.0 */
U_OTHER_SYMBOL = 27,
/** Pi @stable */
/** Pi @stable ICU 2.0 */
U_INITIAL_PUNCTUATION = 28,
/** Pf @stable */
/** Pf @stable ICU 2.0 */
U_FINAL_PUNCTUATION = 29,
/** One higher than the last enum UCharCategory constant. @stable */
/** One higher than the last enum UCharCategory constant. @stable ICU 2.0 */
U_CHAR_CATEGORY_COUNT
} UCharCategory;
@ -496,45 +496,45 @@ typedef enum UCharCategory
typedef enum UCharDirection {
/** See note !!. Comments of the form "EN" are read by genpname. */
/** L @stable */
/** L @stable ICU 2.0 */
U_LEFT_TO_RIGHT = 0,
/** R @stable */
/** R @stable ICU 2.0 */
U_RIGHT_TO_LEFT = 1,
/** EN @stable */
/** EN @stable ICU 2.0 */
U_EUROPEAN_NUMBER = 2,
/** ES @stable */
/** ES @stable ICU 2.0 */
U_EUROPEAN_NUMBER_SEPARATOR = 3,
/** ET @stable */
/** ET @stable ICU 2.0 */
U_EUROPEAN_NUMBER_TERMINATOR = 4,
/** AN @stable */
/** AN @stable ICU 2.0 */
U_ARABIC_NUMBER = 5,
/** CS @stable */
/** CS @stable ICU 2.0 */
U_COMMON_NUMBER_SEPARATOR = 6,
/** B @stable */
/** B @stable ICU 2.0 */
U_BLOCK_SEPARATOR = 7,
/** S @stable */
/** S @stable ICU 2.0 */
U_SEGMENT_SEPARATOR = 8,
/** WS @stable */
/** WS @stable ICU 2.0 */
U_WHITE_SPACE_NEUTRAL = 9,
/** ON @stable */
/** ON @stable ICU 2.0 */
U_OTHER_NEUTRAL = 10,
/** LRE @stable */
/** LRE @stable ICU 2.0 */
U_LEFT_TO_RIGHT_EMBEDDING = 11,
/** LRO @stable */
/** LRO @stable ICU 2.0 */
U_LEFT_TO_RIGHT_OVERRIDE = 12,
/** AL @stable */
/** AL @stable ICU 2.0 */
U_RIGHT_TO_LEFT_ARABIC = 13,
/** RLE @stable */
/** RLE @stable ICU 2.0 */
U_RIGHT_TO_LEFT_EMBEDDING = 14,
/** RLO @stable */
/** RLO @stable ICU 2.0 */
U_RIGHT_TO_LEFT_OVERRIDE = 15,
/** PDF @stable */
/** PDF @stable ICU 2.0 */
U_POP_DIRECTIONAL_FORMAT = 16,
/** NSM @stable */
/** NSM @stable ICU 2.0 */
U_DIR_NON_SPACING_MARK = 17,
/** BN @stable */
/** BN @stable ICU 2.0 */
U_BOUNDARY_NEUTRAL = 18,
/** @stable */
/** @stable ICU 2.0 */
U_CHAR_DIRECTION_COUNT
} UCharDirection;
@ -544,25 +544,25 @@ typedef enum UCharDirection {
* @stable ICU 2.0
*/
enum UBlockCode {
/** @stable */
/** @stable ICU 2.0 */
UBLOCK_BASIC_LATIN = 1, /*[0000]*/ /*See note !!*/
/** @stable */
/** @stable ICU 2.0 */
UBLOCK_LATIN_1_SUPPLEMENT=2, /*[0080]*/
/** @stable */
/** @stable ICU 2.0 */
UBLOCK_LATIN_EXTENDED_A =3, /*[0100]*/
/** @stable */
/** @stable ICU 2.0 */
UBLOCK_LATIN_EXTENDED_B =4, /*[0180]*/
/** @stable */
/** @stable ICU 2.0 */
UBLOCK_IPA_EXTENSIONS =5, /*[0250]*/
/** @stable */
/** @stable ICU 2.0 */
UBLOCK_SPACING_MODIFIER_LETTERS =6, /*[02B0]*/
/** @stable */
/** @stable ICU 2.0 */
UBLOCK_COMBINING_DIACRITICAL_MARKS =7, /*[0300]*/
/**
@ -571,106 +571,106 @@ enum UBlockCode {
*/
UBLOCK_GREEK =8, /*[0370]*/
/** @stable */
/** @stable ICU 2.0 */
UBLOCK_CYRILLIC =9, /*[0400]*/
/** @stable */
/** @stable ICU 2.0 */
UBLOCK_ARMENIAN =10, /*[0530]*/
/** @stable */
/** @stable ICU 2.0 */
UBLOCK_HEBREW =11, /*[0590]*/
/** @stable */
/** @stable ICU 2.0 */
UBLOCK_ARABIC =12, /*[0600]*/
/** @stable */
/** @stable ICU 2.0 */
UBLOCK_SYRIAC =13, /*[0700]*/
/** @stable */
/** @stable ICU 2.0 */
UBLOCK_THAANA =14, /*[0780]*/
/** @stable */
/** @stable ICU 2.0 */
UBLOCK_DEVANAGARI =15, /*[0900]*/
/** @stable */
/** @stable ICU 2.0 */
UBLOCK_BENGALI =16, /*[0980]*/
/** @stable */
/** @stable ICU 2.0 */
UBLOCK_GURMUKHI =17, /*[0A00]*/
/** @stable */
/** @stable ICU 2.0 */
UBLOCK_GUJARATI =18, /*[0A80]*/
/** @stable */
/** @stable ICU 2.0 */
UBLOCK_ORIYA =19, /*[0B00]*/
/** @stable */
/** @stable ICU 2.0 */
UBLOCK_TAMIL =20, /*[0B80]*/
/** @stable */
/** @stable ICU 2.0 */
UBLOCK_TELUGU =21, /*[0C00]*/
/** @stable */
/** @stable ICU 2.0 */
UBLOCK_KANNADA =22, /*[0C80]*/
/** @stable */
/** @stable ICU 2.0 */
UBLOCK_MALAYALAM =23, /*[0D00]*/
/** @stable */
/** @stable ICU 2.0 */
UBLOCK_SINHALA =24, /*[0D80]*/
/** @stable */
/** @stable ICU 2.0 */
UBLOCK_THAI =25, /*[0E00]*/
/** @stable */
/** @stable ICU 2.0 */
UBLOCK_LAO =26, /*[0E80]*/
/** @stable */
/** @stable ICU 2.0 */
UBLOCK_TIBETAN =27, /*[0F00]*/
/** @stable */
/** @stable ICU 2.0 */
UBLOCK_MYANMAR =28, /*[1000]*/
/** @stable */
/** @stable ICU 2.0 */
UBLOCK_GEORGIAN =29, /*[10A0]*/
/** @stable */
/** @stable ICU 2.0 */
UBLOCK_HANGUL_JAMO =30, /*[1100]*/
/** @stable */
/** @stable ICU 2.0 */
UBLOCK_ETHIOPIC =31, /*[1200]*/
/** @stable */
/** @stable ICU 2.0 */
UBLOCK_CHEROKEE =32, /*[13A0]*/
/** @stable */
/** @stable ICU 2.0 */
UBLOCK_UNIFIED_CANADIAN_ABORIGINAL_SYLLABICS =33, /*[1400]*/
/** @stable */
/** @stable ICU 2.0 */
UBLOCK_OGHAM =34, /*[1680]*/
/** @stable */
/** @stable ICU 2.0 */
UBLOCK_RUNIC =35, /*[16A0]*/
/** @stable */
/** @stable ICU 2.0 */
UBLOCK_KHMER =36, /*[1780]*/
/** @stable */
/** @stable ICU 2.0 */
UBLOCK_MONGOLIAN =37, /*[1800]*/
/** @stable */
/** @stable ICU 2.0 */
UBLOCK_LATIN_EXTENDED_ADDITIONAL =38, /*[1E00]*/
/** @stable */
/** @stable ICU 2.0 */
UBLOCK_GREEK_EXTENDED =39, /*[1F00]*/
/** @stable */
/** @stable ICU 2.0 */
UBLOCK_GENERAL_PUNCTUATION =40, /*[2000]*/
/** @stable */
/** @stable ICU 2.0 */
UBLOCK_SUPERSCRIPTS_AND_SUBSCRIPTS =41, /*[2070]*/
/** @stable */
/** @stable ICU 2.0 */
UBLOCK_CURRENCY_SYMBOLS =42, /*[20A0]*/
/**
@ -679,106 +679,106 @@ enum UBlockCode {
*/
UBLOCK_COMBINING_MARKS_FOR_SYMBOLS =43, /*[20D0]*/
/** @stable */
/** @stable ICU 2.0 */
UBLOCK_LETTERLIKE_SYMBOLS =44, /*[2100]*/
/** @stable */
/** @stable ICU 2.0 */
UBLOCK_NUMBER_FORMS =45, /*[2150]*/
/** @stable */
/** @stable ICU 2.0 */
UBLOCK_ARROWS =46, /*[2190]*/
/** @stable */
/** @stable ICU 2.0 */
UBLOCK_MATHEMATICAL_OPERATORS =47, /*[2200]*/
/** @stable */
/** @stable ICU 2.0 */
UBLOCK_MISCELLANEOUS_TECHNICAL =48, /*[2300]*/
/** @stable */
/** @stable ICU 2.0 */
UBLOCK_CONTROL_PICTURES =49, /*[2400]*/
/** @stable */
/** @stable ICU 2.0 */
UBLOCK_OPTICAL_CHARACTER_RECOGNITION =50, /*[2440]*/
/** @stable */
/** @stable ICU 2.0 */
UBLOCK_ENCLOSED_ALPHANUMERICS =51, /*[2460]*/
/** @stable */
/** @stable ICU 2.0 */
UBLOCK_BOX_DRAWING =52, /*[2500]*/
/** @stable */
/** @stable ICU 2.0 */
UBLOCK_BLOCK_ELEMENTS =53, /*[2580]*/
/** @stable */
/** @stable ICU 2.0 */
UBLOCK_GEOMETRIC_SHAPES =54, /*[25A0]*/
/** @stable */
/** @stable ICU 2.0 */
UBLOCK_MISCELLANEOUS_SYMBOLS =55, /*[2600]*/
/** @stable */
/** @stable ICU 2.0 */
UBLOCK_DINGBATS =56, /*[2700]*/
/** @stable */
/** @stable ICU 2.0 */
UBLOCK_BRAILLE_PATTERNS =57, /*[2800]*/
/** @stable */
/** @stable ICU 2.0 */
UBLOCK_CJK_RADICALS_SUPPLEMENT =58, /*[2E80]*/
/** @stable */
/** @stable ICU 2.0 */
UBLOCK_KANGXI_RADICALS =59, /*[2F00]*/
/** @stable */
/** @stable ICU 2.0 */
UBLOCK_IDEOGRAPHIC_DESCRIPTION_CHARACTERS =60, /*[2FF0]*/
/** @stable */
/** @stable ICU 2.0 */
UBLOCK_CJK_SYMBOLS_AND_PUNCTUATION =61, /*[3000]*/
/** @stable */
/** @stable ICU 2.0 */
UBLOCK_HIRAGANA =62, /*[3040]*/
/** @stable */
/** @stable ICU 2.0 */
UBLOCK_KATAKANA =63, /*[30A0]*/
/** @stable */
/** @stable ICU 2.0 */
UBLOCK_BOPOMOFO =64, /*[3100]*/
/** @stable */
/** @stable ICU 2.0 */
UBLOCK_HANGUL_COMPATIBILITY_JAMO =65, /*[3130]*/
/** @stable */
/** @stable ICU 2.0 */
UBLOCK_KANBUN =66, /*[3190]*/
/** @stable */
/** @stable ICU 2.0 */
UBLOCK_BOPOMOFO_EXTENDED =67, /*[31A0]*/
/** @stable */
/** @stable ICU 2.0 */
UBLOCK_ENCLOSED_CJK_LETTERS_AND_MONTHS =68, /*[3200]*/
/** @stable */
/** @stable ICU 2.0 */
UBLOCK_CJK_COMPATIBILITY =69, /*[3300]*/
/** @stable */
/** @stable ICU 2.0 */
UBLOCK_CJK_UNIFIED_IDEOGRAPHS_EXTENSION_A =70, /*[3400]*/
/** @stable */
/** @stable ICU 2.0 */
UBLOCK_CJK_UNIFIED_IDEOGRAPHS =71, /*[4E00]*/
/** @stable */
/** @stable ICU 2.0 */
UBLOCK_YI_SYLLABLES =72, /*[A000]*/
/** @stable */
/** @stable ICU 2.0 */
UBLOCK_YI_RADICALS =73, /*[A490]*/
/** @stable */
/** @stable ICU 2.0 */
UBLOCK_HANGUL_SYLLABLES =74, /*[AC00]*/
/** @stable */
/** @stable ICU 2.0 */
UBLOCK_HIGH_SURROGATES =75, /*[D800]*/
/** @stable */
/** @stable ICU 2.0 */
UBLOCK_HIGH_PRIVATE_USE_SURROGATES =76, /*[DB80]*/
/** @stable */
/** @stable ICU 2.0 */
UBLOCK_LOW_SURROGATES =77, /*[DC00]*/
/**
@ -802,50 +802,50 @@ enum UBlockCode {
*/
UBLOCK_PRIVATE_USE_AREA =UBLOCK_PRIVATE_USE, /*[E000]*/
/** @stable */
/** @stable ICU 2.0 */
UBLOCK_CJK_COMPATIBILITY_IDEOGRAPHS =79, /*[F900]*/
/** @stable */
/** @stable ICU 2.0 */
UBLOCK_ALPHABETIC_PRESENTATION_FORMS =80, /*[FB00]*/
/** @stable */
/** @stable ICU 2.0 */
UBLOCK_ARABIC_PRESENTATION_FORMS_A =81, /*[FB50]*/
/** @stable */
/** @stable ICU 2.0 */
UBLOCK_COMBINING_HALF_MARKS =82, /*[FE20]*/
/** @stable */
/** @stable ICU 2.0 */
UBLOCK_CJK_COMPATIBILITY_FORMS =83, /*[FE30]*/
/** @stable */
/** @stable ICU 2.0 */
UBLOCK_SMALL_FORM_VARIANTS =84, /*[FE50]*/
/** @stable */
/** @stable ICU 2.0 */
UBLOCK_ARABIC_PRESENTATION_FORMS_B =85, /*[FE70]*/
/** @stable */
/** @stable ICU 2.0 */
UBLOCK_SPECIALS =86, /*[FFF0]*/
/** @stable */
/** @stable ICU 2.0 */
UBLOCK_HALFWIDTH_AND_FULLWIDTH_FORMS =87, /*[FF00]*/
/** @stable */
/** @stable ICU 2.0 */
UBLOCK_OLD_ITALIC = 88 , /*[10300]*/
/** @stable */
/** @stable ICU 2.0 */
UBLOCK_GOTHIC = 89 , /*[10330]*/
/** @stable */
/** @stable ICU 2.0 */
UBLOCK_DESERET = 90 , /*[10400]*/
/** @stable */
/** @stable ICU 2.0 */
UBLOCK_BYZANTINE_MUSICAL_SYMBOLS = 91 , /*[1D000]*/
/** @stable */
/** @stable ICU 2.0 */
UBLOCK_MUSICAL_SYMBOLS = 92 , /*[1D100]*/
/** @stable */
/** @stable ICU 2.0 */
UBLOCK_MATHEMATICAL_ALPHANUMERIC_SYMBOLS = 93 , /*[1D400]*/
/** @stable */
/** @stable ICU 2.0 */
UBLOCK_CJK_UNIFIED_IDEOGRAPHS_EXTENSION_B = 94 , /*[20000]*/
/** @stable */
/** @stable ICU 2.0 */
UBLOCK_CJK_COMPATIBILITY_IDEOGRAPHS_SUPPLEMENT = 95 , /*[2F800]*/
/** @stable */
/** @stable ICU 2.0 */
UBLOCK_TAGS = 96, /*[E0000]*/
/* New blocks in Unicode 3.2 */
@ -879,10 +879,10 @@ enum UBlockCode {
/** @draft ICU 2.2 */
UBLOCK_SUPPLEMENTARY_PRIVATE_USE_AREA_B = 110, /*[100000]*/
/** @stable */
/** @stable ICU 2.0 */
UBLOCK_COUNT,
/** @stable */
/** @stable ICU 2.0 */
UBLOCK_INVALID_CODE=-1
#ifdef ICU_UCHAR_USE_DEPRECATES
@ -1071,7 +1071,7 @@ enum UBlockCode {
#endif /* ICU_UCHAR_USE_DEPRECATES */
};
/** @stable */
/** @stable ICU 2.0 */
typedef enum UBlockCode UBlockCode;
/**
@ -1080,15 +1080,15 @@ typedef enum UBlockCode UBlockCode;
*/
typedef enum UCellWidth
{
/** @stable */
/** @stable ICU 2.0 */
U_ZERO_WIDTH = 0,
/** @stable */
/** @stable ICU 2.0 */
U_HALF_WIDTH = 1,
/** @stable */
/** @stable ICU 2.0 */
U_FULL_WIDTH = 2,
/** @stable */
/** @stable ICU 2.0 */
U_NEUTRAL_WIDTH = 3,
/** @stable */
/** @stable ICU 2.0 */
U_CELL_WIDTH_COUNT
} UCellWidth;
@ -2354,7 +2354,7 @@ u_toupper(UChar32 c);
U_CAPI UChar32 U_EXPORT2
u_totitle(UChar32 c);
/** Option value for case folding: use default mappings defined in CaseFolding.txt. @stable */
/** Option value for case folding: use default mappings defined in CaseFolding.txt. @stable ICU 2.0 */
#define U_FOLD_CASE_DEFAULT 0
/**

View file

@ -41,10 +41,10 @@
#ifndef UCNV_H
#define UCNV_H
/** Forward declaring the UConverter structure. @stable */
/** Forward declaring the UConverter structure. @stable ICU 2.0 */
struct UConverter;
/** @stable */
/** @stable ICU 2.0 */
typedef struct UConverter UConverter;
#include "unicode/utypes.h"
@ -426,7 +426,7 @@ ucnv_safeClone(const UConverter *cnv,
int32_t *pBufferSize,
UErrorCode *status);
/** @stable */
/** @stable ICU 2.0 */
#define U_CNV_SAFECLONE_BUFFERSIZE 3072
/**
@ -907,7 +907,7 @@ ucnv_toUnicode (UConverter * converter,
* and a buffer of the indicated length would need to be passed in
* @see ucnv_fromUnicode
* @see ucnv_convert
* @stable
* @stable ICU 2.0
*/
U_CAPI int32_t U_EXPORT2
ucnv_fromUChars(UConverter *cnv,

View file

@ -119,25 +119,25 @@
/**
* Constants for normalization modes.
* @stable except for deprecated constants
* @stable ICU 2.0
*/
typedef enum {
/** No decomposition/composition. @stable */
/** No decomposition/composition. @stable ICU 2.0 */
UNORM_NONE = 1,
/** Canonical decomposition. @stable */
/** Canonical decomposition. @stable ICU 2.0 */
UNORM_NFD = 2,
/** Compatibility decomposition. @stable */
/** Compatibility decomposition. @stable ICU 2.0 */
UNORM_NFKD = 3,
/** Canonical decomposition followed by canonical composition. @stable */
/** Canonical decomposition followed by canonical composition. @stable ICU 2.0 */
UNORM_NFC = 4,
/** Default normalization. @stable */
/** Default normalization. @stable ICU 2.0 */
UNORM_DEFAULT = UNORM_NFC,
/** Compatibility decomposition followed by canonical composition. @stable */
/** Compatibility decomposition followed by canonical composition. @stable ICU 2.0 */
UNORM_NFKC =5,
/** "Fast C or D" form. @stable */
/** "Fast C or D" form. @stable ICU 2.0 */
UNORM_FCD = 6,
/** One more than the highest normalization mode constant. @stable */
/** One more than the highest normalization mode constant. @stable ICU 2.0 */
UNORM_MODE_COUNT
/* *** The rest of this enum is entirely deprecated. *** */

View file

@ -129,11 +129,11 @@ u_shapeArabic(const UChar *source, int32_t sourceLength,
*/
#define U_SHAPE_LENGTH_FIXED_SPACES_AT_BEGINNING 3
/** Bit mask for memory options. @stable */
/** Bit mask for memory options. @stable ICU 2.0 */
#define U_SHAPE_LENGTH_MASK 3
/** Direction indicator: the source is in logical (keyboard) order. @stable */
/** Direction indicator: the source is in logical (keyboard) order. @stable ICU 2.0 */
#define U_SHAPE_TEXT_DIRECTION_LOGICAL 0
/**
@ -144,17 +144,17 @@ u_shapeArabic(const UChar *source, int32_t sourceLength,
*/
#define U_SHAPE_TEXT_DIRECTION_VISUAL_LTR 4
/** Bit mask for direction indicators. @stable */
/** Bit mask for direction indicators. @stable ICU 2.0 */
#define U_SHAPE_TEXT_DIRECTION_MASK 4
/** Letter shaping option: do not perform letter shaping. @stable */
/** Letter shaping option: do not perform letter shaping. @stable ICU 2.0 */
#define U_SHAPE_LETTERS_NOOP 0
/** Letter shaping option: replace abstract letter characters by "shaped" ones. @stable */
/** Letter shaping option: replace abstract letter characters by "shaped" ones. @stable ICU 2.0 */
#define U_SHAPE_LETTERS_SHAPE 8
/** Letter shaping option: replace "shaped" letter characters by abstract ones. @stable */
/** Letter shaping option: replace "shaped" letter characters by abstract ones. @stable ICU 2.0 */
#define U_SHAPE_LETTERS_UNSHAPE 0x10
/**
@ -166,11 +166,11 @@ u_shapeArabic(const UChar *source, int32_t sourceLength,
*/
#define U_SHAPE_LETTERS_SHAPE_TASHKEEL_ISOLATED 0x18
/** Bit mask for letter shaping options. @stable */
/** Bit mask for letter shaping options. @stable ICU 2.0 */
#define U_SHAPE_LETTERS_MASK 0x18
/** Digit shaping option: do not perform digit shaping. @stable */
/** Digit shaping option: do not perform digit shaping. @stable ICU 2.0 */
#define U_SHAPE_DIGITS_NOOP 0
/**
@ -215,20 +215,20 @@ u_shapeArabic(const UChar *source, int32_t sourceLength,
/** Not a valid option value. May be replaced by a new option. */
#define U_SHAPE_DIGITS_RESERVED 0xa0
/** Bit mask for digit shaping options. @stable */
/** Bit mask for digit shaping options. @stable ICU 2.0 */
#define U_SHAPE_DIGITS_MASK 0xe0
/** Digit type option: Use Arabic-Indic digits (U+0660...U+0669). @stable */
/** Digit type option: Use Arabic-Indic digits (U+0660...U+0669). @stable ICU 2.0 */
#define U_SHAPE_DIGIT_TYPE_AN 0
/** Digit type option: Use Eastern (Extended) Arabic-Indic digits (U+06f0...U+06f9). @stable */
/** Digit type option: Use Eastern (Extended) Arabic-Indic digits (U+06f0...U+06f9). @stable ICU 2.0 */
#define U_SHAPE_DIGIT_TYPE_AN_EXTENDED 0x100
/** Not a valid option value. May be replaced by a new option. */
#define U_SHAPE_DIGIT_TYPE_RESERVED 0x200
/** Bit mask for digit type options. @stable */
/** Bit mask for digit type options. @stable ICU 2.0 */
#define U_SHAPE_DIGIT_TYPE_MASK 0x3f00
#endif

View file

@ -156,7 +156,7 @@
/* UChar and UChar32 definitions -------------------------------------------- */
/** Number of bytes in a UChar. @stable */
/** Number of bytes in a UChar. @stable ICU 2.0 */
#define U_SIZEOF_UCHAR 2
/*!

View file

@ -313,7 +313,7 @@ public:
* or a collator with the requested version is not available.
*
* @see getVersion
* @stable 2.2
* @stable ICU 2.2
*/
static Collator *createInstance(const Locale &loc, UVersionInfo version, UErrorCode &err);
@ -554,7 +554,7 @@ public:
* @param value attribute value
* @param status to indicate whether the operation went on smoothly or
* there were errors
* @stable 2.2
* @stable ICU 2.2
*/
virtual void setAttribute(UColAttribute attr, UColAttributeValue value,
UErrorCode &status) = 0;
@ -565,7 +565,7 @@ public:
* @param status to indicate whether the operation went on smoothly or
* there were errors
* @return attribute value
* @stable 2.2
* @stable ICU 2.2
*/
virtual UColAttributeValue getAttribute(UColAttribute attr,
UErrorCode &status) = 0;
@ -625,7 +625,7 @@ public:
/**
* Thread safe cloning operation
* @return pointer to the new clone, user should remove it.
* @stable 2.2
* @stable ICU 2.2
*/
virtual Collator* safeClone(void) = 0;
@ -639,7 +639,7 @@ public:
* @param resultLength length of the result buffer. If if not enough the
* buffer will be filled to capacity.
* @return Number of bytes needed for storing the sort key
* @stable 2.2
* @stable ICU 2.2
*/
virtual int32_t getSortKey(const UnicodeString& source,
uint8_t* result,
@ -658,7 +658,7 @@ public:
* @param resultLength length of the result buffer. If if not enough the
* buffer will be filled to capacity.
* @return Number of bytes needed for storing the sort key
* @stable 2.2
* @stable ICU 2.2
*/
virtual int32_t getSortKey(const UChar*source, int32_t sourceLength,
uint8_t*result, int32_t resultLength) const = 0;

View file

@ -58,7 +58,7 @@ public:
* Creates a Formattable object with a UDate instance.
* @param d the UDate instance.
* @param ISDATE the flag to indicate this is a date.
* @stable
* @stable ICU 2.0
*/
Formattable(UDate d, ISDATE);
/**

View file

@ -398,7 +398,7 @@ protected:
/**
* C search data struct
* @stable.
* @stable ICU 2.0
*/
USearch *m_search_;
@ -408,13 +408,13 @@ protected:
* another in C. Hence we keep the original around and do the verification
* at the end of the match. The user is responsible for deleting this
* break iterator.
* @stable.
* @stable ICU 2.0
*/
BreakIterator *m_breakiterator_;
/**
* Unicode string version of the search text
* @stable.
* @stable ICU 2.0
*/
UnicodeString m_text_;
@ -423,7 +423,7 @@ protected:
/**
* Default constructor.
* Initializes data to the default values.
* @stable ICU 2.0
* @stable ICU 2.0
*/
SearchIterator();
@ -440,7 +440,7 @@ protected:
* is <tt>NULL</tt>, no break detection is attempted.
* @see #handleNext
* @see #handlePrev
* @stable.
* @stable ICU 2.0
*/
SearchIterator(const UnicodeString &text,
BreakIterator *breakiter = NULL);
@ -462,7 +462,7 @@ protected:
* is <tt>NULL</tt>, no break detection is attempted.
* @see #handleNext
* @see #handlePrev
* @stable.
* @stable ICU 2.0
*/
SearchIterator(CharacterIterator &text, BreakIterator *breakiter = NULL);
@ -472,7 +472,7 @@ protected:
* Assignment operator. Sets this iterator to have the same behavior,
* and iterate over the same text, as the one passed in.
* @param that instance to be copied.
* @stable.
* @stable ICU 2.0
*/
SearchIterator & operator=(const SearchIterator &that);
@ -493,7 +493,7 @@ protected:
* @return index at which the match starts, else if match is not found
* USEARCH_DONE is returned
* @see #setMatchLength
* @stable.
* @stable ICU 2.0
*/
virtual int32_t handleNext(int32_t position, UErrorCode &status)
= 0;
@ -515,7 +515,7 @@ protected:
* @return index at which the match starts, else if match is not found
* USEARCH_DONE is returned
* @see #setMatchLength
* @stable.
* @stable ICU 2.0
*/
virtual int32_t handlePrev(int32_t position, UErrorCode &status)
= 0;
@ -528,7 +528,7 @@ protected:
* @param length length of the matched text.
* @see #handleNext
* @see #handlePrev
* @stable.
* @stable ICU 2.0
*/
virtual void setMatchLength(int32_t length);
@ -540,13 +540,13 @@ protected:
* @param position start offset of the matched text.
* @see #handleNext
* @see #handlePrev
* @stable.
* @stable ICU 2.0
*/
virtual void setMatchStart(int32_t position);
/**
* sets match not found
* @stable.
* @stable ICU 2.0
*/
void setMatchNotFound();
};

View file

@ -438,7 +438,7 @@ protected:
* @param status for errors if any occurs
* @return The index at which the matched text in the target starts, or
* USEARCH_DONE if no match was found.
* @stable.
* @stable ICU 2.0
*/
virtual int32_t handleNext(int32_t position, UErrorCode &status);
@ -462,7 +462,7 @@ protected:
* @param status for errors if any occurs
* @return The index at which the matched text in the target starts, or
* USEARCH_DONE if no match was found.
* @stable.
* @stable ICU 2.0
*/
virtual int32_t handlePrev(int32_t position, UErrorCode &status);
@ -472,22 +472,22 @@ private :
/**
* RuleBasedCollator, contains exactly the same UCollator * in m_strsrch_
* @stable.
* @stable ICU 2.0
*/
RuleBasedCollator m_collator_;
/**
* Pattern text
* @stable.
* @stable ICU 2.0
*/
UnicodeString m_pattern_;
/**
* Corresponding collation rules
* @stable.
* @stable ICU 2.0
*/
UnicodeString m_collation_rules_;
/**
* String search struct data
* @stable.
* @stable ICU 2.0
*/
UStringSearch *m_strsrch_;

View file

@ -219,7 +219,7 @@ public:
* iterate.
* @return the collation element iterator of the source string using this as
* the based Collator.
* @stable 2.2
* @stable ICU 2.2
*/
virtual CollationElementIterator* createCollationElementIterator(
const UnicodeString& source) const;
@ -231,7 +231,7 @@ public:
* which the CollationElementItgerator will iterate.
* @return the collation element iterator of the source using this as the
* based Collator.
* @stable 2.2
* @stable ICU 2.2
*/
virtual CollationElementIterator* createCollationElementIterator(
const CharacterIterator& source) const;
@ -300,7 +300,7 @@ public:
* @return Returns a byte value. GREATER if source is greater than target;
* EQUAL if source is equal to target; LESS if source is less than
* target
* @stable 2.2
* @stable ICU 2.2
*/
virtual EComparisonResult compare(const UChar* source, int32_t sourceLength,
const UChar* target, int32_t targetLength)
@ -422,7 +422,7 @@ public:
* @param length Returns the length of the data, in bytes
* @param status the error code status.
* @return memory, owned by the caller, of size 'length' bytes.
* @stable 2.2
* @stable ICU 2.2
*/
uint8_t *cloneRuleData(int32_t &length, UErrorCode &status);
@ -431,7 +431,7 @@ public:
* just the tailoring.
* @param delta one of UCOL_TAILORING_ONLY, UCOL_FULL_RULES.
* @param buffer UnicodeString to store the result rules
* @stable 2.2
* @stable ICU 2.2
*/
void getRules(UColRuleOption delta, UnicodeString &buffer);
@ -440,7 +440,7 @@ public:
* @param attr attribute type
* @param value attribute value
* @param status to indicate whether the operation went on smoothly or there were errors
* @stable 2.2
* @stable ICU 2.2
*/
virtual void setAttribute(UColAttribute attr, UColAttributeValue value,
UErrorCode &status);
@ -450,7 +450,7 @@ public:
* @param attr attribute type
* @param status to indicate whether the operation went on smoothly or there were errors
* @return attribute value
* @stable 2.2
* @stable ICU 2.2
*/
virtual UColAttributeValue getAttribute(UColAttribute attr,
UErrorCode &status);
@ -509,7 +509,7 @@ public:
/**
* Thread safe cloning operation.
* @return pointer to the new clone, user should remove it.
* @stable 2.2
* @stable ICU 2.2
*/
virtual Collator* safeClone(void);
@ -536,7 +536,7 @@ public:
* @param resultLength length of the result buffer. If if not enough the
* buffer will be filled to capacity.
* @return Number of bytes needed for storing the sort key
* @stable 2.2
* @stable ICU 2.2
*/
virtual int32_t getSortKey(const UChar *source, int32_t sourceLength,
uint8_t *result, int32_t resultLength) const;

View file

@ -139,7 +139,7 @@
/** A calendar.
* For usage in C programs.
* @stable
* @stable ICU 2.0
*/
typedef void* UCalendar;
@ -153,7 +153,7 @@ enum UCalendarType {
UCAL_GREGORIAN
};
/** @stable */
/** @stable ICU 2.0 */
typedef enum UCalendarType UCalendarType;
/** Possible fields in a UCalendar
@ -202,7 +202,7 @@ enum UCalendarDateFields {
UCAL_FIELD_COUNT
};
/** @stable */
/** @stable ICU 2.0 */
typedef enum UCalendarDateFields UCalendarDateFields;
/**
* Useful constant for days of week. Note: Calendar day-of-week is 1-based. Clients
@ -229,7 +229,7 @@ enum UCalendarDaysOfWeek {
UCAL_SATURDAY
};
/** @stable */
/** @stable ICU 2.0 */
typedef enum UCalendarDaysOfWeek UCalendarDaysOfWeek;
/** Possible months in a UCalendar. Note: Calendar month is 0-based.
@ -264,7 +264,7 @@ enum UCalendarMonths {
UCAL_UNDECIMBER
};
/** @stable */
/** @stable ICU 2.0 */
typedef enum UCalendarMonths UCalendarMonths;
/** Possible AM/PM values in a UCalendar
@ -277,7 +277,7 @@ enum UCalendarAMPMs {
UCAL_PM
};
/** @stable */
/** @stable ICU 2.0 */
typedef enum UCalendarAMPMs UCalendarAMPMs;
/**
@ -386,7 +386,7 @@ enum UCalendarDisplayNameType {
UCAL_SHORT_DST
};
/** @stable */
/** @stable ICU 2.0 */
typedef enum UCalendarDisplayNameType UCalendarDisplayNameType;
/**
@ -423,7 +423,7 @@ ucal_inDaylightTime( const UCalendar* cal,
UErrorCode* status );
/** Types of UCalendar attributes
* @stable
* @stable ICU 2.0
*/
enum UCalendarAttribute {
/** Lenient parsing */
@ -434,7 +434,7 @@ enum UCalendarAttribute {
UCAL_MINIMAL_DAYS_IN_FIRST_WEEK
};
/** @stable */
/** @stable ICU 2.0 */
typedef enum UCalendarAttribute UCalendarAttribute;
/**
@ -734,7 +734,7 @@ enum UCalendarLimitType {
UCAL_ACTUAL_MAXIMUM
};
/** @stable */
/** @stable ICU 2.0 */
typedef enum UCalendarLimitType UCalendarLimitType;
/**