ICU-4599 promote @draft ICU 2.8 to stable

X-SVN-Rev: 17985
This commit is contained in:
Vladimir Weinstein 2005-06-22 23:38:06 +00:00
parent be7a028a53
commit ed7fe99c8b
43 changed files with 196 additions and 197 deletions

View File

@ -1,7 +1,7 @@
/*
*******************************************************************************
*
* Copyright (C) 2003, International Business Machines
* Copyright (C) 2003-2005, International Business Machines
* Corporation and others. All Rights Reserved.
*
*******************************************************************************
@ -82,7 +82,7 @@ typedef struct UDataSwapper UDataSwapper;
* @return The actual length of the data.
*
* @see UDataSwapper
* @draft ICU 2.8
* @internal ICU 2.8
*/
typedef int32_t U_CALLCONV
UDataSwapFn(const UDataSwapper *ds,
@ -91,28 +91,28 @@ UDataSwapFn(const UDataSwapper *ds,
/**
* Convert one uint16_t from input to platform endianness.
* @draft ICU 2.8
* @internal ICU 2.8
*/
typedef uint16_t U_CALLCONV
UDataReadUInt16(uint16_t x);
/**
* Convert one uint32_t from input to platform endianness.
* @draft ICU 2.8
* @internal ICU 2.8
*/
typedef uint32_t U_CALLCONV
UDataReadUInt32(uint32_t x);
/**
* Convert one uint16_t from platform to input endianness.
* @draft ICU 2.8
* @internal ICU 2.8
*/
typedef void U_CALLCONV
UDataWriteUInt16(uint16_t *p, uint16_t x);
/**
* Convert one uint32_t from platform to input endianness.
* @draft ICU 2.8
* @internal ICU 2.8
*/
typedef void U_CALLCONV
UDataWriteUInt32(uint32_t *p, uint32_t x);
@ -125,7 +125,7 @@ UDataWriteUInt32(uint32_t *p, uint32_t x);
* according to the output charset.
* You can use -1 for the length parameters of NUL-terminated strings as usual.
* Returns Unicode code point order for invariant characters.
* @draft ICU 2.8
* @internal ICU 2.8
*/
typedef int32_t U_CALLCONV
UDataCompareInvChars(const UDataSwapper *ds,
@ -141,53 +141,53 @@ UDataCompareInvChars(const UDataSwapper *ds,
* @param fmt The format string.
* @param args The arguments for format string inserts.
*
* @draft ICU 2.8
* @internal ICU 2.8
*/
typedef void U_CALLCONV
UDataPrintError(void *context, const char *fmt, va_list args);
struct UDataSwapper {
/** Input endianness. @draft ICU 2.8 */
/** Input endianness. @internal ICU 2.8 */
UBool inIsBigEndian;
/** Input charset family. @see U_CHARSET_FAMILY @draft ICU 2.8 */
/** Input charset family. @see U_CHARSET_FAMILY @internal ICU 2.8 */
uint8_t inCharset;
/** Output endianness. @draft ICU 2.8 */
/** Output endianness. @internal ICU 2.8 */
UBool outIsBigEndian;
/** Output charset family. @see U_CHARSET_FAMILY @draft ICU 2.8 */
/** Output charset family. @see U_CHARSET_FAMILY @internal ICU 2.8 */
uint8_t outCharset;
/* basic functions for reading data values */
/** Convert one uint16_t from input to platform endianness. @draft ICU 2.8 */
/** Convert one uint16_t from input to platform endianness. @internal ICU 2.8 */
UDataReadUInt16 *readUInt16;
/** Convert one uint32_t from input to platform endianness. @draft ICU 2.8 */
/** Convert one uint32_t from input to platform endianness. @internal ICU 2.8 */
UDataReadUInt32 *readUInt32;
/** Compare an invariant-character output string with a local one. @draft ICU 2.8 */
/** Compare an invariant-character output string with a local one. @internal ICU 2.8 */
UDataCompareInvChars *compareInvChars;
/* basic functions for writing data values */
/** Convert one uint16_t from platform to input endianness. @draft ICU 2.8 */
/** Convert one uint16_t from platform to input endianness. @internal ICU 2.8 */
UDataWriteUInt16 *writeUInt16;
/** Convert one uint32_t from platform to input endianness. @draft ICU 2.8 */
/** Convert one uint32_t from platform to input endianness. @internal ICU 2.8 */
UDataWriteUInt32 *writeUInt32;
/* basic functions for data transformations */
/** Transform an array of 16-bit integers. @draft ICU 2.8 */
/** Transform an array of 16-bit integers. @internal ICU 2.8 */
UDataSwapFn *swapArray16;
/** Transform an array of 32-bit integers. @draft ICU 2.8 */
/** Transform an array of 32-bit integers. @internal ICU 2.8 */
UDataSwapFn *swapArray32;
/** Transform an invariant-character string. @draft ICU 2.8 */
/** Transform an invariant-character string. @internal ICU 2.8 */
UDataSwapFn *swapInvChars;
/**
* Function for message output when an error occurs during data swapping.
* Can be NULL.
* @draft ICU 2.8
* @internal ICU 2.8
*/
UDataPrintError *printError;
/** Context pointer for printError. @draft ICU 2.8 */
/** Context pointer for printError. @internal ICU 2.8 */
void *printErrorContext;
};
@ -205,7 +205,7 @@ udata_openSwapper(UBool inIsBigEndian, uint8_t inCharset,
* characteristics.
*
* @see udata_swap
* @draft ICU 2.8
* @internal ICU 2.8
*/
U_CAPI UDataSwapper * U_EXPORT2
udata_openSwapperForInputData(const void *data, int32_t length,
@ -222,7 +222,7 @@ udata_closeSwapper(UDataSwapper *ds);
*
* @return The size of the data header, in bytes.
*
* @draft ICU 2.8
* @internal ICU 2.8
*/
U_CAPI int32_t U_EXPORT2
udata_swapDataHeader(const UDataSwapper *ds,
@ -231,14 +231,14 @@ udata_swapDataHeader(const UDataSwapper *ds,
/**
* Convert one int16_t from input to platform endianness.
* @draft ICU 2.8
* @internal ICU 2.8
*/
U_CAPI int16_t U_EXPORT2
udata_readInt16(const UDataSwapper *ds, int16_t x);
/**
* Convert one int32_t from input to platform endianness.
* @draft ICU 2.8
* @internal ICU 2.8
*/
U_CAPI int32_t U_EXPORT2
udata_readInt32(const UDataSwapper *ds, int32_t x);
@ -335,7 +335,7 @@ uprv_compareInvEbcdic(const UDataSwapper *ds,
*
* @param isAcceptable Same as for udata_openChoice(). May be NULL.
*
* @draft ICU 2.8
* @internal ICU 2.8
*/
U_CAPI UDataMemory * U_EXPORT2
udata_openSwap(const char *path, const char *type, const char *name,

View File

@ -127,7 +127,7 @@ compareCaseInsensitiveASCII(const UChar* s1, int32_t s1Len,
*
* @param ch The code point to be ascertained
* @return true if the char is a label separator
* @draft ICU 2.8
* @stable ICU 2.8
*/
static inline UBool isLabelSeparator(UChar ch){
switch(ch){

View File

@ -589,7 +589,7 @@ public:
/**
* Returns the locale for this break iterator. Two flavors are available: valid and
* actual locale.
* @draft ICU 2.8 likely to change in ICU 3.0, based on feedback
* @draft ICU 2.8 likely to change after ICU 3.0, based on feedback
*/
Locale getLocale(ULocDataLocaleType type, UErrorCode& status) const;

View File

@ -315,7 +315,7 @@ public:
* @return a clone of this object
*
* @see getDynamicClassID
* @draft ICU 2.8
* @stable ICU 2.8
*/
Locale *clone() const;
@ -384,7 +384,7 @@ public:
* @return An alias to the code
* @see uscript_getShortName
* @see uscript_getCode
* @draft ICU 2.8
* @stable ICU 2.8
*/
inline const char * getScript( ) const;
@ -417,7 +417,7 @@ public:
* but without keywords.
* @return A pointer to "name".
* @see getName
* @draft ICU 2.8
* @stable ICU 2.8
*/
const char * getBaseName() const;
@ -427,7 +427,7 @@ public:
*
* @return pointer to StringEnumeration class. Client must dispose of it by calling delete.
* @param status Returns any error information while performing this operation.
* @draft ICU 2.8
* @stable ICU 2.8
*/
StringEnumeration * createKeywords(UErrorCode &status) const;
@ -440,7 +440,7 @@ public:
* @param bufferCapacity The capacity of receiving buffer
* @return the length of keyword value
*
* @draft ICU 2.8
* @stable ICU 2.8
*/
int32_t getKeywordValue(const char* keywordName, char *buffer, int32_t bufferCapacity, UErrorCode &status) const;
@ -502,7 +502,7 @@ public:
* dispScript to "Latin".
* @param dispScript Receives the scripts's display name.
* @return A reference to "dispScript".
* @draft ICU 2.8
* @stable ICU 2.8
*/
UnicodeString& getDisplayScript( UnicodeString& dispScript) const;
@ -518,7 +518,7 @@ public:
* "".
* @param dispScript Receives the scripts's display name.
* @return A reference to "dispScript".
* @draft ICU 2.8
* @stable ICU 2.8
*/
UnicodeString& getDisplayScript( const Locale& displayLocale,
UnicodeString& dispScript) const;

View File

@ -113,7 +113,7 @@ public:
* @return a clone of this object
*
* @see getDynamicClassID
* @draft ICU 2.8
* @stable ICU 2.8
*/
ParsePosition *clone() const;

View File

@ -163,7 +163,7 @@ public:
* @param status Information on any errors encountered.
* @see udata_open
* @see #getBinaryRules
* @draft ICU 2.8
* @stable ICU 2.8
*/
RuleBasedBreakIterator(UDataMemory* image, UErrorCode &status);

View File

@ -184,7 +184,7 @@ public:
* @return a clone of this object
*
* @see getDynamicClassID
* @draft ICU 2.8
* @stable ICU 2.8
*/
ResourceBundle *clone() const;
@ -442,7 +442,7 @@ public:
* @param status just for catching illegal arguments
*
* @return a Locale object
* @draft ICU 2.8
* @stable ICU 2.8
*/
const Locale
getLocale(ULocDataLocaleType type, UErrorCode &status) const;

View File

@ -73,7 +73,7 @@ public:
* @return a clone of this object
*
* @see getDynamicClassID
* @draft ICU 2.8
* @stable ICU 2.8
*/
virtual StringEnumeration *clone() const;
@ -187,29 +187,29 @@ public:
protected:
/**
* UnicodeString field for use with default implementations and subclasses.
* @draft ICU 2.8
* @stable ICU 2.8
*/
UnicodeString unistr;
/**
* char * default buffer for use with default implementations and subclasses.
* @draft ICU 2.8
* @stable ICU 2.8
*/
char charsBuffer[32];
/**
* char * buffer for use with default implementations and subclasses.
* Allocated in constructor and in ensureCharsCapacity().
* @draft ICU 2.8
* @stable ICU 2.8
*/
char *chars;
/**
* Capacity of chars, for use with default implementations and subclasses.
* @draft ICU 2.8
* @stable ICU 2.8
*/
int32_t charsCapacity;
/**
* Default constructor for use with default implementations and subclasses.
* @draft ICU 2.8
* @stable ICU 2.8
*/
StringEnumeration();
@ -219,7 +219,7 @@ protected:
*
* @param capacity Requested capacity.
* @param status ICU in/out error code.
* @draft ICU 2.8
* @stable ICU 2.8
*/
void ensureCharsCapacity(int32_t capacity, UErrorCode &status);
@ -243,7 +243,7 @@ protected:
* @param length Length of the string.
* @param status ICU in/out error code.
* @return A pointer to unistr.
* @draft ICU 2.8
* @stable ICU 2.8
*/
UnicodeString *setChars(const char *s, int32_t length, UErrorCode &status);
};

View File

@ -49,20 +49,20 @@ class UnicodeString;
* with the position immediately following the SYMBOL_REF. The symbol
* table parses the name, if there is one, and returns it.
*
* @draft ICU 2.8
* @stable ICU 2.8
*/
class U_COMMON_API SymbolTable /* not : public UObject because this is an interface/mixin class */ {
public:
/**
* The character preceding a symbol reference name.
* @draft ICU 2.8
* @stable ICU 2.8
*/
enum { SYMBOL_REF = 0x0024 /*$*/ };
/**
* Destructor.
* @draft ICU 2.8
* @stable ICU 2.8
*/
virtual ~SymbolTable();
@ -73,7 +73,7 @@ public:
* @param s the symbolic name to lookup
* @return a string containing the name's value, or <tt>NULL</tt> if
* there is no mapping for s.
* @draft ICU 2.8
* @stable ICU 2.8
*/
virtual const UnicodeString* lookup(const UnicodeString& s) const = 0;
@ -83,7 +83,7 @@ public:
* @param ch a 32-bit code point from 0 to 0x10FFFF inclusive.
* @return the UnicodeMatcher object represented by the given
* character, or NULL if there is no mapping for ch.
* @draft ICU 2.8
* @stable ICU 2.8
*/
virtual const UnicodeFunctor* lookupMatcher(UChar32 ch) const = 0;
@ -102,7 +102,7 @@ public:
* @param limit the index after the last character to be parsed.
* @return the parsed name, or an empty string if there is no
* valid symbolic name at the given position.
* @draft ICU 2.8
* @stable ICU 2.8
*/
virtual UnicodeString parseReference(const UnicodeString& text,
ParsePosition& pos, int32_t limit) const = 0;

View File

@ -1,5 +1,5 @@
/*
* Copyright (C) 1996-2004, International Business Machines Corporation and others. All Rights Reserved.
* Copyright (C) 1996-2005, International Business Machines Corporation and others. All Rights Reserved.
*****************************************************************************************
*/
@ -253,7 +253,7 @@ typedef enum UWordBreak {
* word, to allow for further subdivisions of a category in future releases.
* Applications should check for tag values falling within the range, rather
* than for single individual values.
* @draft ICU 2.8
* @stable ICU 2.8
*/
typedef enum ULineBreakTag {
/** Tag value for soft line breaks, positions at which a line break
@ -275,7 +275,7 @@ typedef enum ULineBreakTag {
* sentence, to allow for further subdivisions of a category in future releases.
* Applications should check for tag values falling within the range, rather
* than for single individual values.
* @draft ICU 2.8
* @stable ICU 2.8
*/
typedef enum USentenceBreakTag {
/** Tag value for for sentences ending with a sentence terminator
@ -552,7 +552,7 @@ ubrk_getRuleStatusVec(UBreakIterator *bi, int32_t *fillInVec, int32_t capacity,
* @param type locale type (valid or actual)
* @param status error code
* @return locale string
* @draft ICU 2.8 likely to change in ICU 3.0, based on feedback
* @draft ICU 2.8 likely to change after ICU 3.0, based on feedback
*/
U_DRAFT const char* U_EXPORT2
ubrk_getLocaleByType(const UBreakIterator *bi, ULocDataLocaleType type, UErrorCode* status);

View File

@ -123,7 +123,7 @@ u_cleanup(void);
* An opaque pointer type that represents an ICU mutex.
* For user-implemented mutexes, the value will typically point to a
* struct or object that implements the mutex.
* @draft ICU 2.8
* @stable ICU 2.8
* @system
*/
typedef void *UMTX;
@ -141,7 +141,7 @@ typedef void *UMTX;
* identify the mutex by the UMTX value.
* @param status Error status. Report errors back to ICU by setting this variable
* with an error code.
* @draft ICU 2.8
* @stable ICU 2.8
* @system
*/
typedef void U_CALLCONV UMtxInitFn (const void *context, UMTX *mutex, UErrorCode* status);
@ -153,7 +153,7 @@ typedef void U_CALLCONV UMtxInitFn (const void *context, UMTX *mutex, UErrorCod
* whenever ICU needs to lock, unlock, or destroy a mutex.
* @param context user supplied value, obtained from from u_setMutexFunctions().
* @param mutex specify the mutex on which to operate.
* @draft ICU 2.8
* @stable ICU 2.8
* @system
*/
typedef void U_CALLCONV UMtxFn (const void *context, UMTX *mutex);
@ -175,10 +175,10 @@ typedef void U_CALLCONV UMtxFn (const void *context, UMTX *mutex);
* @param lock pointer to the mutex lock function. Must be non-null.
* @param unlock Pointer to the mutex unlock function. Must be non-null.
* @param status Receives error values.
* @draft ICU 2.8
* @stable ICU 2.8
* @system
*/
U_DRAFT void U_EXPORT2
U_STABLE void U_EXPORT2
u_setMutexFunctions(const void *context, UMtxInitFn *init, UMtxFn *destroy, UMtxFn *lock, UMtxFn *unlock,
UErrorCode *status);
@ -188,7 +188,7 @@ u_setMutexFunctions(const void *context, UMtxInitFn *init, UMtxFn *destroy, UMtx
* @param context user supplied value, obtained from from u_setAtomicIncDecFunctions().
* @param p Pointer to a 32 bit int to be incremented or decremented
* @return The value of the variable after the inc or dec operation.
* @draft ICU 2.8
* @stable ICU 2.8
* @system
*/
typedef int32_t U_CALLCONV UMtxAtomicFn(const void *context, int32_t *p);
@ -205,10 +205,10 @@ typedef int32_t U_CALLCONV UMtxAtomicFn(const void *context, int32_t *p);
* @param inc Pointer to a function to do an atomic increment operation. Must be non-null.
* @param dec Pointer to a function to do an atomic decrement operation. Must be non-null.
* @param status Receives error values.
* @draft ICU 2.8
* @stable ICU 2.8
* @system
*/
U_DRAFT void U_EXPORT2
U_STABLE void U_EXPORT2
u_setAtomicIncDecFunctions(const void *context, UMtxAtomicFn *inc, UMtxAtomicFn *dec,
UErrorCode *status);
@ -219,7 +219,7 @@ u_setAtomicIncDecFunctions(const void *context, UMtxAtomicFn *inc, UMtxAtomicFn
* @param context user supplied value, obtained from from u_setMemoryFunctions().
* @param size The number of bytes to be allocated
* @return Pointer to the newly allocated memory, or NULL if the allocation failed.
* @draft ICU 2.8
* @stable ICU 2.8
* @system
*/
typedef void *U_CALLCONV UMemAllocFn(const void *context, size_t size);
@ -228,7 +228,7 @@ typedef void *U_CALLCONV UMemAllocFn(const void *context, size_t size);
* @param context user supplied value, obtained from from u_setMemoryFunctions().
* @param size The number of bytes to be allocated
* @return Pointer to the newly allocated memory, or NULL if the allocation failed.
* @draft ICU 2.8
* @stable ICU 2.8
* @system
*/
typedef void *U_CALLCONV UMemReallocFn(const void *context, void *mem, size_t size);
@ -239,7 +239,7 @@ typedef void *U_CALLCONV UMemReallocFn(const void *context, void *mem, size_t si
* @param mem Pointer to the memory block to be resized
* @param size The new size for the block
* @return Pointer to the resized memory block, or NULL if the resizing failed.
* @draft ICU 2.8
* @stable ICU 2.8
* @system
*/
typedef void U_CALLCONV UMemFreeFn (const void *context, void *mem);
@ -257,10 +257,10 @@ typedef void U_CALLCONV UMemFreeFn (const void *context, void *mem);
* @param r Pointer to a user-supplied realloc function.
* @param f Pointer to a user-supplied free function.
* @param status Receives error values.
* @draft ICU 2.8
* @stable ICU 2.8
* @system
*/
U_DRAFT void U_EXPORT2
U_STABLE void U_EXPORT2
u_setMemoryFunctions(const void *context, UMemAllocFn *a, UMemReallocFn *r, UMemFreeFn *f,
UErrorCode *status);

View File

@ -674,7 +674,7 @@ ucnv_getMaxCharSize(const UConverter *converter);
* converting length UChars with the converter that returned the maxCharSize.
*
* @see ucnv_getMaxCharSize
* @draft ICU 2.8
* @stable ICU 2.8
*/
#define UCNV_GET_MAX_BYTES_FOR_STRING(length, maxCharSize) \
(((int32_t)(length)+10)*(int32_t)(maxCharSize))

View File

@ -267,36 +267,36 @@
/**
* Useful constant for the maximum size of the script part of a locale ID
* (including the terminating NULL).
* @draft ICU 2.8
* @internal ICU 2.8
*/
#define ULOC_SCRIPT_CAPACITY 6
/**
* Useful constant for the maximum size of keywords in a locale
* @draft ICU 2.8
* @internal ICU 2.8
*/
#define ULOC_KEYWORDS_CAPACITY 50
/**
* Useful constant for the maximum size of keywords in a locale
* @draft ICU 2.8
* @internal ICU 2.8
*/
#define ULOC_KEYWORD_AND_VALUES_CAPACITY 100
/**
* Character separating keywords from the locale string
* different for EBCDIC - TODO
* @draft ICU 2.8
* @stable ICU 2.8
*/
#define ULOC_KEYWORD_SEPARATOR '@'
/**
* Character for assigning value to a keyword
* @draft ICU 2.8
* @stable ICU 2.8
*/
#define ULOC_KEYWORD_ASSIGN '='
/**
* Character separating keywords
* @draft ICU 2.8
* @stable ICU 2.8
*/
#define ULOC_KEYWORD_ITEM_SEPARATOR ';'
@ -400,9 +400,9 @@ uloc_getLanguage(const char* localeID,
* @param err error information if retrieving the language code failed
* @return the actual buffer size needed for the language code. If it's greater
* than scriptCapacity, the returned language code will be truncated.
* @draft ICU 2.8
* @stable ICU 2.8
*/
U_DRAFT int32_t U_EXPORT2
U_STABLE int32_t U_EXPORT2
uloc_getScript(const char* localeID,
char* script,
int32_t scriptCapacity,
@ -482,9 +482,9 @@ uloc_getName(const char* localeID,
* @param err error information if retrieving the full name failed
* @return the actual buffer size needed for the full name. If it's greater
* than nameCapacity, the returned full name will be truncated.
* @draft ICU 2.8
* @stable ICU 2.8
*/
U_DRAFT int32_t U_EXPORT2
U_STABLE int32_t U_EXPORT2
uloc_canonicalize(const char* localeID,
char* name,
int32_t nameCapacity,
@ -559,9 +559,9 @@ uloc_getDisplayLanguage(const char* locale,
* @param status error information if retrieving the displayable script code failed
* @return the actual buffer size needed for the displayable script code. If it's greater
* than scriptCapacity, the returned displayable script code will be truncated.
* @draft ICU 2.8
* @stable ICU 2.8
*/
U_DRAFT int32_t U_EXPORT2
U_STABLE int32_t U_EXPORT2
uloc_getDisplayScript(const char* locale,
const char* displayLocale,
UChar* script,
@ -653,9 +653,9 @@ uloc_getDisplayVariant(const char* locale,
* Should not be NULL and should not indicate failure on entry.
* @return the actual buffer size needed for the displayable variant code.
* @see #uloc_openKeywords
* @draft ICU 2.8
* @stable ICU 2.8
*/
U_DRAFT int32_t U_EXPORT2
U_STABLE int32_t U_EXPORT2
uloc_getDisplayKeyword(const char* keyword,
const char* displayLocale,
UChar* dest,
@ -679,9 +679,9 @@ uloc_getDisplayKeyword(const char* keyword,
* @param status error information if retrieving the displayable string failed.
* Should not be NULL and must not indicate failure on entry.
* @return the actual buffer size needed for the displayable variant code.
* @draft ICU 2.8
* @stable ICU 2.8
*/
U_DRAFT int32_t U_EXPORT2
U_STABLE int32_t U_EXPORT2
uloc_getDisplayKeywordValue( const char* locale,
const char* keyword,
const char* displayLocale,
@ -796,9 +796,9 @@ uloc_getParent(const char* localeID,
* @param err error information if retrieving the full name failed
* @return the actual buffer size needed for the full name. If it's greater
* than nameCapacity, the returned full name will be truncated.
* @draft ICU 2.8
* @stable ICU 2.8
*/
U_DRAFT int32_t U_EXPORT2
U_STABLE int32_t U_EXPORT2
uloc_getBaseName(const char* localeID,
char* name,
int32_t nameCapacity,
@ -811,9 +811,9 @@ uloc_getBaseName(const char* localeID,
* @param localeID the locale to get the variant code with
* @param status error information if retrieving the keywords failed
* @return enumeration of keywords or NULL if there are no keywords.
* @draft ICU 2.8
* @stable ICU 2.8
*/
U_DRAFT UEnumeration* U_EXPORT2
U_STABLE UEnumeration* U_EXPORT2
uloc_openKeywords(const char* localeID,
UErrorCode* status);
@ -826,9 +826,9 @@ uloc_openKeywords(const char* localeID,
* @param bufferCapacity capacity of receiving buffer
* @param status containing error code - buffer not big enough.
* @return the length of keyword value
* @draft ICU 2.8
* @stable ICU 2.8
*/
U_DRAFT int32_t U_EXPORT2
U_STABLE int32_t U_EXPORT2
uloc_getKeywordValue(const char* localeID,
const char* keywordName,
char* buffer, int32_t bufferCapacity,

View File

@ -201,7 +201,7 @@
/**
* Provides a platform independent way to specify a signed 64-bit integer constant.
* note: may be wrong for some 64 bit platforms - ensure your compiler provides INT64_C
* @draft ICU 2.8
* @stable ICU 2.8
*/
# define INT64_C(c) c ## LL
# endif
@ -209,7 +209,7 @@
/**
* Provides a platform independent way to specify an unsigned 64-bit integer constant.
* note: may be wrong for some 64 bit platforms - ensure your compiler provides UINT64_C
* @draft ICU 2.8
* @stable ICU 2.8
*/
# define UINT64_C(c) c ## ULL
# endif

View File

@ -356,7 +356,7 @@ public:
* @param symbols a symbol table mapping variable names to values
* and stand-in characters to UnicodeSets; may be NULL
* @param status input-output error code
* @draft ICU 2.8
* @stable ICU 2.8
*/
UnicodeSet(const UnicodeString& pattern, ParsePosition& pos,
uint32_t options,
@ -513,7 +513,7 @@ public:
* @param status returns <code>U_ILLEGAL_ARGUMENT_ERROR</code> if the pattern
* contains a syntax error.
* @return a reference to this
* @draft ICU 2.8
* @stable ICU 2.8
*/
UnicodeSet& applyPattern(const UnicodeString& pattern,
ParsePosition& pos,

View File

@ -3196,7 +3196,7 @@ private:
* @param s1 The first string to be copied to the new one.
* @param s2 The second string to be copied to the new one, after s1.
* @return UnicodeString(s1).append(s2)
* @draft ICU 2.8
* @stable ICU 2.8
*/
U_COMMON_API UnicodeString U_EXPORT2
operator+ (const UnicodeString &s1, const UnicodeString &s2);

View File

@ -294,7 +294,7 @@ ures_getLocale(const UResourceBundle* resourceBundle,
* ULocDataLocaleType in uloc.h
* @param status just for catching illegal arguments
* @return A Locale name
* @draft ICU 2.8
* @draft ICU 2.8 likely to change in the future
*/
U_DRAFT const char* U_EXPORT2
ures_getLocaleByType(const UResourceBundle* resourceBundle,

View File

@ -216,9 +216,9 @@ uset_set(USet* set,
* If the status code indicates failure, then the return value
* is the index of the error in the source.
*
* @draft ICU 2.8
* @stable ICU 2.8
*/
U_DRAFT int32_t U_EXPORT2
U_STABLE int32_t U_EXPORT2
uset_applyPattern(USet *set,
const UChar *pattern, int32_t patternLength,
uint32_t options,

View File

@ -63,7 +63,7 @@
/**
* The StringPrep profile
* @draft ICU 2.8
* @stable ICU 2.8
*/
typedef struct UStringPrepProfile UStringPrepProfile;
@ -72,7 +72,7 @@ typedef struct UStringPrepProfile UStringPrepProfile;
* Option to prohibit processing of unassigned code points in the input
*
* @see usprep_prepare
* @draft ICU 2.8
* @stable ICU 2.8
*/
#define USPREP_DEFAULT 0x0000
@ -80,7 +80,7 @@ typedef struct UStringPrepProfile UStringPrepProfile;
* Option to allow processing of unassigned code points in the input
*
* @see usprep_prepare
* @draft ICU 2.8
* @stable ICU 2.8
*/
#define USPREP_ALLOW_UNASSIGNED 0x0001
@ -100,9 +100,9 @@ typedef struct UStringPrepProfile UStringPrepProfile;
* @return Pointer to UStringPrepProfile that is opened. Should be closed by
* calling usprep_close()
* @see usprep_close()
* @draft ICU 2.8
* @stable ICU 2.8
*/
U_DRAFT UStringPrepProfile* U_EXPORT2
U_STABLE UStringPrepProfile* U_EXPORT2
usprep_open(const char* path,
const char* fileName,
UErrorCode* status);
@ -111,9 +111,9 @@ usprep_open(const char* path,
/**
* Closes the profile
* @param profile The profile to close
* @draft ICU 2.8
* @stable ICU 2.8
*/
U_DRAFT void U_EXPORT2
U_STABLE void U_EXPORT2
usprep_close(UStringPrepProfile* profile);
@ -143,10 +143,10 @@ usprep_close(UStringPrepProfile* profile);
* too many code points.
* U_BUFFER_OVERFLOW_ERROR if destCapacity is not enough
* @return The number of UChars in the destination buffer
* @draft ICU 2.8
* @stable ICU 2.8
*/
U_DRAFT int32_t U_EXPORT2
U_STABLE int32_t U_EXPORT2
usprep_prepare( const UStringPrepProfile* prep,
const UChar* src, int32_t srcLength,
UChar* dest, int32_t destCapacity,

View File

@ -163,7 +163,7 @@
* Is this code point a BMP code point (U+0000..U+ffff)?
* @param c 32-bit code point
* @return TRUE or FALSE
* @draft ICU 2.8
* @stable ICU 2.8
*/
#define U_IS_BMP(c) ((uint32_t)(c)<=0xffff)
@ -171,7 +171,7 @@
* Is this code point a supplementary code point (U+10000..U+10ffff)?
* @param c 32-bit code point
* @return TRUE or FALSE
* @draft ICU 2.8
* @stable ICU 2.8
*/
#define U_IS_SUPPLEMENTARY(c) ((uint32_t)((c)-0x10000)<=0xfffff)

View File

@ -35,26 +35,26 @@ U_CDECL_BEGIN
/**
* Trace severity levels. Higher levels increase the verbosity of the trace output.
* @see utrace_setLevel
* @draft ICU 2.8
* @stable ICU 2.8
*/
typedef enum UTraceLevel {
/** Disable all tracing @draft ICU 2.8*/
/** Disable all tracing @stable ICU 2.8*/
UTRACE_OFF=-1,
/** Trace error conditions only @draft ICU 2.8*/
/** Trace error conditions only @stable ICU 2.8*/
UTRACE_ERROR=0,
/** Trace errors and warnings @draft ICU 2.8*/
/** Trace errors and warnings @stable ICU 2.8*/
UTRACE_WARNING=3,
/** Trace opens and closes of ICU services @draft ICU 2.8*/
/** Trace opens and closes of ICU services @stable ICU 2.8*/
UTRACE_OPEN_CLOSE=5,
/** Trace an intermediate number of ICU operations @draft ICU 2.8*/
/** Trace an intermediate number of ICU operations @stable ICU 2.8*/
UTRACE_INFO=7,
/** Trace the maximum number of ICU operations @draft ICU 2.8*/
/** Trace the maximum number of ICU operations @stable ICU 2.8*/
UTRACE_VERBOSE=9
} UTraceLevel;
/**
* These are the ICU functions that will be traced when tracing is enabled.
* @draft ICU 2.8
* @stable ICU 2.8
*/
typedef enum UTraceFunctionNumber {
UTRACE_FUNCTION_START=0,
@ -90,17 +90,17 @@ typedef enum UTraceFunctionNumber {
/**
* Setter for the trace level.
* @param traceLevel A UTraceLevel value.
* @draft ICU 2.8
* @stable ICU 2.8
*/
U_DRAFT void U_EXPORT2
U_STABLE void U_EXPORT2
utrace_setLevel(int32_t traceLevel);
/**
* Getter for the trace level.
* @return The UTraceLevel value being used by ICU.
* @draft ICU 2.8
* @stable ICU 2.8
*/
U_DRAFT int32_t U_EXPORT2
U_STABLE int32_t U_EXPORT2
utrace_getLevel(void);
/* Trace function pointers types ----------------------------- */
@ -109,7 +109,7 @@ utrace_getLevel(void);
* Type signature for the trace function to be called when entering a function.
* @param context value supplied at the time the trace functions are set.
* @param fnNumber Enum value indicating the ICU function being entered.
* @draft ICU 2.8
* @stable ICU 2.8
*/
typedef void U_CALLCONV
UTraceEntry(const void *context, int32_t fnNumber);
@ -125,7 +125,7 @@ UTraceEntry(const void *context, int32_t fnNumber);
* @param args A variable arguments list. Contents are described by
* the fmt parameter.
* @see utrace_vformat
* @draft ICU 2.8
* @stable ICU 2.8
*/
typedef void U_CALLCONV
UTraceExit(const void *context, int32_t fnNumber,
@ -140,7 +140,7 @@ UTraceExit(const void *context, int32_t fnNumber,
* @param fmt A format string describing the tracing data that is supplied
* as variable args
* @param args The data being traced, passed as variable args.
* @draft ICU 2.8
* @stable ICU 2.8
*/
typedef void U_CALLCONV
UTraceData(const void *context, int32_t fnNumber, int32_t level,
@ -172,9 +172,9 @@ UTraceData(const void *context, int32_t fnNumber, int32_t level,
* traced ICU function, for the purpose of providing
* data to the trace.
*
* @draft ICU 2.8
* @stable ICU 2.8
*/
U_DRAFT void U_EXPORT2
U_STABLE void U_EXPORT2
utrace_setFunctions(const void *context,
UTraceEntry *e, UTraceExit *x, UTraceData *d);
@ -186,9 +186,9 @@ utrace_setFunctions(const void *context,
* @param e The currently installed UTraceEntry function.
* @param x The currently installed UTraceExit function.
* @param d The currently installed UTraceData function.
* @draft ICU 2.8
* @stable ICU 2.8
*/
U_DRAFT void U_EXPORT2
U_STABLE void U_EXPORT2
utrace_getFunctions(const void **context,
UTraceEntry **e, UTraceExit **x, UTraceData **d);
@ -308,9 +308,9 @@ utrace_getFunctions(const void **context,
* @param args Data to be formatted.
* @return Length of formatted output, including the terminating NUL.
* If buffer capacity is insufficient, the required capacity is returned.
* @draft ICU 2.8
* @stable ICU 2.8
*/
U_DRAFT int32_t U_EXPORT2
U_STABLE int32_t U_EXPORT2
utrace_vformat(char *outBuf, int32_t capacity,
int32_t indent, const char *fmt, va_list args);
@ -329,9 +329,9 @@ utrace_vformat(char *outBuf, int32_t capacity,
* @param ... Data to be formatted.
* @return Length of formatted output, including the terminating NUL.
* If buffer capacity is insufficient, the required capacity is returned.
* @draft ICU 2.8
* @stable ICU 2.8
*/
U_DRAFT int32_t U_EXPORT2
U_STABLE int32_t U_EXPORT2
utrace_format(char *outBuf, int32_t capacity,
int32_t indent, const char *fmt, ...);
@ -346,9 +346,9 @@ utrace_format(char *outBuf, int32_t capacity,
* @return The name string for the function.
*
* @see UTraceFunctionNumber
* @draft ICU 2.8
* @stable ICU 2.8
*/
U_DRAFT const char * U_EXPORT2
U_STABLE const char * U_EXPORT2
utrace_functionName(int32_t fnNumber);
U_CDECL_END

View File

@ -2112,7 +2112,6 @@ Calendar::getActualMinimum(UCalendarDateFields field, UErrorCode& status) const
* should only be called if this calendar is not lenient.
* @see #isLenient
* @see #validateField(int)
* @draft ICU 2.8
*/
void Calendar::validateFields(UErrorCode &status) {
for (int32_t field = 0; U_SUCCESS(status) && (field < UCAL_FIELD_COUNT); field++) {
@ -2128,7 +2127,6 @@ void Calendar::validateFields(UErrorCode &status) {
* Generic fields can be handled by
* <code>Calendar.validateField()</code>.
* @see #validateField(int, int, int)
* @draft ICU 2.8
*/
void Calendar::validateField(UCalendarDateFields field, UErrorCode &status) {
int32_t y;
@ -2164,7 +2162,6 @@ void Calendar::validateField(UCalendarDateFields field, UErrorCode &status) {
* descriptive <code>IllegalArgumentException</code>. Subclasses may
* use this method in their implementation of {@link
* #validateField(int)}.
* @draft ICU 2.8
*/
void Calendar::validateField(UCalendarDateFields field, int32_t min, int32_t max, UErrorCode& status)
{

View File

@ -1800,7 +1800,7 @@ protected:
* {@link #getMinimalDaysInFirstWeek getMinimalDaysInFirstWeek}
* is more than one.
*
* @draft ICU 2.8
* @stable ICU 2.8
*/
int32_t weekNumber(int32_t desiredDay, int32_t dayOfPeriod, int32_t dayOfWeek);
@ -2091,7 +2091,7 @@ private:
* @param type type of the locale we're looking for (valid or actual)
* @param status error code for the operation
* @return the locale
* @draft ICU 2.8 likely to change in ICU 3.0, based on feedback
* @draft ICU 2.8 likely to change after ICU 3.0, based on feedback
*/
Locale getLocale(ULocDataLocaleType type, UErrorCode &status) const;

View File

@ -512,7 +512,7 @@ public:
* @param pos On input: an alignment field, if desired.
* On output: the offsets of the alignment field.
* @return Reference to 'appendTo' parameter.
* @draft ICU 2.8
* @stable ICU 2.8
*/
virtual UnicodeString& format(int64_t number,
UnicodeString& appendTo,

View File

@ -214,7 +214,7 @@ public:
/**
* Returns the locale for this object. Two flavors are available:
* valid and actual locale.
* @draft ICU 2.8 likely to change in ICU 3.0, based on feedback
* @draft ICU 2.8 likely to change after ICU 3.0, based on feedback
*/
Locale getLocale(ULocDataLocaleType type, UErrorCode& status) const;

View File

@ -807,7 +807,7 @@ public:
* @param pos On input: an alignment field, if desired.
* On output: the offsets of the alignment field.
* @return Reference to 'appendTo' parameter.
* @draft ICU 2.8
* @stable ICU 2.8
*/
virtual UnicodeString& format(int64_t number,
UnicodeString& appendTo,
@ -881,7 +881,7 @@ public:
* @param appendTo Output parameter to receive result.
* Result is appended to existing contents.
* @return Reference to 'appendTo' parameter.
* @draft ICU 2.8
* @stable ICU 2.8
*/
UnicodeString& format(int64_t number,
UnicodeString& appendTo) const;
@ -1863,7 +1863,7 @@ protected:
* this number, it wouldn't make sense anyway, and this is just to make sure
* that someone turning on scientific mode with default settings doesn't
* end up with lots of zeroes.
* @draft ICU 2.8
* @stable ICU 2.8
*/
static const int32_t kMaxScientificIntegerDigits;
};

View File

@ -318,7 +318,7 @@ public:
/**
* Returns the locale for this object. Two flavors are available:
* valid and actual locale.
* @draft ICU 2.8 likely to change in ICU 3.0, based on feedback
* @draft ICU 2.8 likely to change after ICU 3.0, based on feedback
*/
Locale getLocale(ULocDataLocaleType type, UErrorCode& status) const;

View File

@ -178,7 +178,7 @@ public:
* @return a clone of this object
*
* @see getDynamicClassID
* @draft ICU 2.8
* @stable ICU 2.8
*/
FieldPosition *clone() const;

View File

@ -88,7 +88,7 @@ public:
/**
* Creates a Formattable object with an int64_t number
* @param ll the int64_t number.
* @draft ICU 2.8
* @stable ICU 2.8
*/
Formattable(int64_t ll);
@ -176,7 +176,7 @@ public:
* @return a clone of this object
*
* @see getDynamicClassID
* @draft ICU 2.8
* @stable ICU 2.8
*/
Formattable *clone() const;
@ -225,7 +225,7 @@ public:
/**
* Selector indicating a 64-bit integer value. Use getInt64
* to retrieve the value.
* @draft ICU 2.8
* @stable ICU 2.8
*/
kInt64,
@ -304,7 +304,7 @@ public:
* Gets the int64 value of this object. If this object is not of type
* kInt64 then the result is undefined.
* @return the int64 value of this object.
* @draft ICU 2.8
* @stable ICU 2.8
*/
int64_t getInt64(void) const { return fValue.fInt64; }
@ -460,7 +460,7 @@ public:
* Sets the int64 value of this object and changes the type to
* kInt64.
* @param ll the new int64 value to be set.
* @draft ICU 2.8
* @stable ICU 2.8
*/
void setInt64(int64_t ll);

View File

@ -236,7 +236,7 @@ public:
* @param type type of the locale we're looking for (valid or actual)
* @param status error code for the operation
* @return the locale
* @draft ICU 2.8 likely to change in ICU 3.0, based on feedback
* @draft ICU 2.8 likely to change after ICU 3.0, based on feedback
*/
Locale getLocale(ULocDataLocaleType type, UErrorCode& status) const;
@ -249,7 +249,7 @@ public:
const char* getLocaleID(ULocDataLocaleType type, UErrorCode &status) const;
protected:
/** @draft ICU 2.8 */
/** @stable ICU 2.8 */
void setLocaleIDs(const char* valid, const char* actual);
protected:

View File

@ -271,7 +271,7 @@ public:
* @param appendTo Output parameter to receive result.
* Result is appended to existing contents.
* @return Reference to 'appendTo' parameter.
* @draft ICU 2.8
* @stable ICU 2.8
*/
UnicodeString& format( int64_t number,
UnicodeString& appendTo) const;
@ -318,7 +318,7 @@ public:
* @param pos On input: an alignment field, if desired.
* On output: the offsets of the alignment field.
* @return Reference to 'appendTo' parameter.
* @draft ICU 2.8
* @stable ICU 2.8
*/
virtual UnicodeString& format(int64_t number,
UnicodeString& appendTo,

View File

@ -1,6 +1,6 @@
/*
**********************************************************************
* Copyright (C) 2002-2004, International Business Machines
* Copyright (C) 2002-2005, International Business Machines
* Corporation and others. All Rights Reserved.
**********************************************************************
* file name: regex.h
@ -530,7 +530,7 @@ public:
* @param startIndex The input string index at which to begin matching.
* @param status A reference to a UErrorCode to receive any errors.
* @return TRUE if there is a match
* @draft ICU 2.8
* @stable ICU 2.8
*/
virtual UBool matches(int32_t startIndex, UErrorCode &status);
@ -563,7 +563,7 @@ public:
* @param startIndex The input string index at which to begin matching.
* @param status A reference to a UErrorCode to receive any errors.
* @return TRUE if there is a match.
* @draft ICU 2.8
* @stable ICU 2.8
*/
virtual UBool lookingAt(int32_t startIndex, UErrorCode &status);
@ -701,7 +701,7 @@ public:
* the specified position in the input string.
*
* @return this RegexMatcher.
* @draft ICU 2.8
* @stable ICU 2.8
*/
virtual RegexMatcher &reset(int32_t index, UErrorCode &status);

View File

@ -605,7 +605,7 @@ public:
/**
* Redeclared TimeZone method. This implementation simply calls
* the base class method, which otherwise would be hidden.
* @draft ICU 2.8
* @stable ICU 2.8
*/
virtual void getOffset(UDate date, UBool local, int32_t& rawOffset,
int32_t& dstOffset, UErrorCode& ec) const;

View File

@ -276,7 +276,7 @@ public:
* @return a clone of this object
*
* @see getDynamicClassID
* @draft ICU 2.8
* @stable ICU 2.8
*/
StringSearch *clone() const;

View File

@ -418,7 +418,7 @@ public:
* typically one hour.
* @param ec input-output error code
*
* @draft ICU 2.8
* @stable ICU 2.8
*/
virtual void getOffset(UDate date, UBool local, int32_t& rawOffset,
int32_t& dstOffset, UErrorCode& ec) const;

View File

@ -1,5 +1,5 @@
/*
* Copyright (C) 1996-2004, International Business Machines Corporation and others. All Rights Reserved.
* Copyright (C) 1996-2005, International Business Machines Corporation and others. All Rights Reserved.
*******************************************************************************
*/
@ -259,17 +259,17 @@ enum UCalendarDateFields {
UCAL_DOW_LOCAL,
/**
* Year of this calendar system, encompassing all supra-year fields. For example, in Gregorian/Julian calendars, positive Extended Year values indicate years AD, 1 BC = 0 extended, 2 BC = -1 extended, and so on.
* @draft ICU 2.8
* @stable ICU 2.8
*/
UCAL_EXTENDED_YEAR,
/**
* Modified Julian day number, encompassing all date-related fields. Demarcates at local midnight.
* @draft ICU 2.8
* @stable ICU 2.8
*/
UCAL_JULIAN_DAY,
/**
* Ranges from 0 to 23:59:59.999 (regardless of DST). This field behaves <em>exactly</em> like a composite of all time-related fields, not including the zone fields. As such, it also reflects discontinuities of those fields on DST transition days. On a day of DST onset, it will jump forward. On a day of DST cessation, it will jump backward. This reflects the fact that is must be combined with the DST_OFFSET field to obtain a unique local time value.
* @draft ICU 2.8
* @stable ICU 2.8
*/
UCAL_MILLISECONDS_IN_DAY,
@ -285,7 +285,7 @@ enum UCalendarDateFields {
/**
* Synonym for UCAL_DATE
* @draft ICU 2.8
* @stable ICU 2.8
**/
UCAL_DAY_OF_MONTH=UCAL_DATE
@ -927,7 +927,7 @@ ucal_countAvailableTZIDs(int32_t rawOffset);
* @param type type of the locale we're looking for (valid or actual)
* @param status error code for the operation
* @return the locale name
* @draft ICU 2.8 likely to change in ICU 3.0, based on feedback
* @draft ICU 2.8 likely to change after ICU 3.0, based on feedback
*/
U_DRAFT const char * U_EXPORT2
ucal_getLocaleByType(const UCalendar *cal, ULocDataLocaleType type, UErrorCode* status);

View File

@ -810,7 +810,7 @@ ucol_getVersion(const UCollator* coll, UVersionInfo info);
* UCA version number (3.1.1, 4.0).
* @param coll The UCollator to query.
* @param info the version # information, the result will be filled in
* @draft ICU 2.8
* @stable ICU 2.8
*/
U_DRAFT void U_EXPORT2
ucol_getUCAVersion(const UCollator* coll, UVersionInfo info);
@ -998,7 +998,7 @@ ucol_getLocale(const UCollator *coll, ULocDataLocaleType type, UErrorCode *statu
* @return real locale name from which the collation data comes.
* If the collator was instantiated from rules, returns
* NULL.
* @draft ICU 2.8 likely to change in ICU 3.0, based on feedback
* @draft ICU 2.8 likely to change after ICU 3.0, based on feedback
*/
U_DRAFT const char * U_EXPORT2
ucol_getLocaleByType(const UCollator *coll, ULocDataLocaleType type, UErrorCode *status);

View File

@ -47,9 +47,9 @@
* @return length of the currency string. It should always be 3. If 0,
* currency couldn't be found or the input values are
* invalid.
* @draft ICU 2.8
* @stable ICU 2.8
*/
U_DRAFT int32_t U_EXPORT2
U_STABLE int32_t U_EXPORT2
ucurr_forLocale(const char* locale,
UChar* buff,
int32_t buffCapacity,

View File

@ -753,7 +753,7 @@ udat_setSymbols( UDateFormat *format,
* @param type type of the locale we're looking for (valid or actual)
* @param status error code for the operation
* @return the locale name
* @draft ICU 2.8 likely to change in ICU 3.0, based on feedback
* @draft ICU 2.8 likely to change after ICU 3.0, based on feedback
*/
U_DRAFT const char* U_EXPORT2
udat_getLocaleByType(const UDateFormat *fmt,

View File

@ -56,7 +56,7 @@ ulocdata_getExemplarSet(USet *fillIn, const char *localeID,
#ifndef U_HIDE_DRAFT_API
/**
* Enumeration for representing the measurement systems.
* @draft ICU 2.8
* @stable ICU 2.8
*/
typedef enum UMeasurementSystem {
UMS_SI, /** Measurement system specified by SI otherwise known as Metric system. */
@ -72,9 +72,9 @@ typedef enum UMeasurementSystem {
* @param status Must be a valid pointer to an error code value,
* which must not indicate a failure before the function call.
* @return UMeasurementSystem the measurement system used in the locale.
* @draft ICU 2.8
* @stable ICU 2.8
*/
U_DRAFT UMeasurementSystem U_EXPORT2
U_STABLE UMeasurementSystem U_EXPORT2
ulocdata_getMeasurementSystem(const char *localeID, UErrorCode *status);
/**
@ -90,9 +90,9 @@ ulocdata_getMeasurementSystem(const char *localeID, UErrorCode *status);
* @param width A pointer to int to recieve the width information.
* @param status Must be a valid pointer to an error code value,
* which must not indicate a failure before the function call.
* @draft ICU 2.8
* @stable ICU 2.8
*/
U_DRAFT void U_EXPORT2
U_STABLE void U_EXPORT2
ulocdata_getPaperSize(const char *localeID, int32_t *height, int32_t *width, UErrorCode *status);
#endif

View File

@ -1,6 +1,6 @@
/*
*******************************************************************************
* Copyright (C) 1997-2004, International Business Machines Corporation and others. All Rights Reserved.
* Copyright (C) 1997-2005, International Business Machines Corporation and others. All Rights Reserved.
* Modification History:
*
* Date Name Description
@ -407,9 +407,9 @@ unum_parse( const UNumberFormat* fmt,
* @see unum_format
* @see unum_formatInt64
* @see unum_formatDouble
* @draft ICU 2.8
* @stable ICU 2.8
*/
U_CAPI int64_t U_EXPORT2
U_STABLE int64_t U_EXPORT2
unum_parseInt64(const UNumberFormat* fmt,
const UChar* text,
int32_t textLength,
@ -845,7 +845,7 @@ unum_setSymbol(UNumberFormat *fmt,
* @param type type of the locale we're looking for (valid or actual)
* @param status error code for the operation
* @return the locale name
* @draft ICU 2.8 likely to change in ICU 3.0, based on feedback
* @draft ICU 2.8 likely to change after ICU 3.0, based on feedback
*/
U_CAPI const char* U_EXPORT2
unum_getLocaleByType(const UNumberFormat *fmt,

View File

@ -47,7 +47,9 @@ typedef struct URegularExpression URegularExpression;
* @stable ICU 2.4
*/
typedef enum URegexpFlag{
/** Forces normalization of pattern and strings. @draft ICU 2.4 */
/** Forces normalization of pattern and strings.
Not implemented yet, just a placeholder, hence draft.
@draft ICU 2.4 */
UREGEX_CANON_EQ = 128,
/** Enable case insensitive matching. @stable ICU 2.4 */
@ -71,7 +73,7 @@ typedef enum URegexpFlag{
* Warning: Unicode word boundaries are quite different from
* traditional regular expression word boundaries. See
* http://unicode.org/reports/tr29/#Word_Boundaries
* @draft ICU 2.8
* @stable ICU 2.8
*/
UREGEX_UWORD = 256
} URegexpFlag;

View File

@ -1,6 +1,6 @@
/*
*******************************************************************************
* Copyright (C) 1997-2004, International Business Machines
* Copyright (C) 1997-2005, International Business Machines
* Corporation and others. All Rights Reserved.
*******************************************************************************
* Date Name Description
@ -182,9 +182,9 @@ typedef struct UTransPosition {
* @param pErrorCode a pointer to the UErrorCode
* @return a transliterator pointer that may be passed to other
* utrans_xxx() functions, or NULL if the open call fails.
* @draft ICU 2.8
* @stable ICU 2.8
*/
U_DRAFT UTransliterator* U_EXPORT2
U_STABLE UTransliterator* U_EXPORT2
utrans_openU(const UChar *id,
int32_t idLength,
UTransDirection dir,
@ -247,9 +247,9 @@ utrans_close(UTransliterator* trans);
* @return the NUL-terminated ID string. This pointer remains
* valid until utrans_close() is called on this transliterator.
*
* @draft ICU 2.8
* @stable ICU 2.8
*/
U_DRAFT const UChar * U_EXPORT2
U_STABLE const UChar * U_EXPORT2
utrans_getUnicodeID(const UTransliterator *trans,
int32_t *resultLength);
@ -278,9 +278,9 @@ utrans_register(UTransliterator* adoptedTrans,
*
* @param id an ID to unregister
* @param idLength the length of id, or -1 if id is zero-terminated
* @draft ICU 2.8
* @stable ICU 2.8
*/
U_DRAFT void U_EXPORT2
U_STABLE void U_EXPORT2
utrans_unregisterID(const UChar* id, int32_t idLength);
/**
@ -324,9 +324,9 @@ utrans_countAvailableIDs(void);
* @return UEnumeration for the available transliterators.
* Close with uenum_close().
*
* @draft ICU 2.8
* @stable ICU 2.8
*/
U_DRAFT UEnumeration * U_EXPORT2
U_STABLE UEnumeration * U_EXPORT2
utrans_openIDs(UErrorCode *pErrorCode);
/********************************************************************