#include "unicode/utypes.h"
#if !UCONFIG_NO_FORMATTING
-/* #ifndef U_HIDE_DRAFT_API -- cannot be hidden, as this API is used by other API public classes. */
#include "unicode/parseerr.h"
#include "unicode/unistr.h"
*/
typedef enum UMessagePatternArgType UMessagePatternArgType;
-/**
- * @stable ICU 4.8
- */
enum {
/**
* Return value from MessagePattern.validateArgumentName() for when
/*
*******************************************************************************
*
-* Copyright (C) 2002-2011, International Business Machines
+* Copyright (C) 2002-2012, International Business Machines
* Corporation and others. All Rights Reserved.
*
*******************************************************************************
#if U_SHOW_CPLUSPLUS_API
-#ifndef U_HIDE_DRAFT_API
/**
* Given a StringEnumeration, wrap it in a UEnumeration. The
* StringEnumeration is adopted; after this call, the caller must not
* @param adopted the C++ StringEnumeration to be wrapped in a UEnumeration.
* @param ec the error code.
* @return a UEnumeration wrapping the adopted StringEnumeration.
- * @draft ICU 4.2
+ * @stable ICU 4.2
*/
U_CAPI UEnumeration* U_EXPORT2
uenum_openFromStringEnumeration(icu::StringEnumeration* adopted, UErrorCode* ec);
-#endif /* U_HIDE_DRAFT_API */
#endif
*/
kMonetaryGroupingSeparatorSymbol,
/** One
- * @draft ICU 4.6
+ * @stable ICU 4.6
*/
kOneDigitSymbol,
/** Two
- * @draft ICU 4.6
+ * @stable ICU 4.6
*/
kTwoDigitSymbol,
/** Three
- * @draft ICU 4.6
+ * @stable ICU 4.6
*/
kThreeDigitSymbol,
/** Four
- * @draft ICU 4.6
+ * @stable ICU 4.6
*/
kFourDigitSymbol,
/** Five
- * @draft ICU 4.6
+ * @stable ICU 4.6
*/
kFiveDigitSymbol,
/** Six
- * @draft ICU 4.6
+ * @stable ICU 4.6
*/
kSixDigitSymbol,
/** Seven
- * @draft ICU 4.6
+ * @stable ICU 4.6
*/
kSevenDigitSymbol,
/** Eight
- * @draft ICU 4.6
+ * @stable ICU 4.6
*/
kEightDigitSymbol,
/** Nine
- * @draft ICU 4.6
+ * @stable ICU 4.6
*/
kNineDigitSymbol,
/** count symbol constants */
towards zero if equidistant */
kRoundHalfUp, /**< Round towards the nearest integer, or
away from zero if equidistant */
-#ifndef U_HIDE_DRAFT_API
/**
* Return U_FORMAT_INEXACT_ERROR if number does not format exactly.
- * @draft ICU 4.8
+ * @stable ICU 4.8
*/
kRoundUnnecessary
-#endif /* U_HIDE_DRAFT_API */
};
/**
Formattable& result,
UErrorCode& status) const;
-#ifndef U_HIDE_DRAFT_API
+/* Cannot use #ifndef U_HIDE_DRAFT_API for the following draft method since it is virtual */
/**
* Parses text from the given string as a currency amount. Unlike
* the parse() method, this method will attempt to parse a generic
*/
virtual CurrencyAmount* parseCurrency(const UnicodeString& text,
ParsePosition& pos) const;
-#endif /* U_HIDE_DRAFT_API */
/**
* Returns the decimal format symbols, which is generally not changed
*/
static UClassID U_EXPORT2 getStaticClassID(void);
+/* Cannot use #ifndef U_HIDE_DRAFT_API for the following draft method since it is virtual */
/**
* Returns the calendar type name string for this Calendar object.
* The returned string is the legacy ICU calendar attribute value,
Formattable& result,
UErrorCode& status) const;
-#ifndef U_HIDE_DRAFT_API
+/* Cannot use #ifndef U_HIDE_DRAFT_API for the following draft method since it is virtual */
/**
* Parses text from the given string as a currency amount. Unlike
* the parse() method, this method will attempt to parse a generic
*/
virtual CurrencyAmount* parseCurrency(const UnicodeString& text,
ParsePosition& pos) const;
-#endif /* U_HIDE_DRAFT_API */
/**
* Return true if this format will parse numbers as integers
/*
*
- * (C) Copyright IBM Corp. 1998-2011. All Rights Reserved.
+ * (C) Copyright IBM Corp. 1998-2012. All Rights Reserved.
*
* WARNING: THIS FILE IS MACHINE GENERATED. DO NOT HAND EDIT IT UNLESS
* YOU REALLY KNOW WHAT YOU'RE DOING.
tangScriptCode = 154,
woleScriptCode = 155,
/**
- * @stable ICU 49.0
+ * @stable ICU 49
*/
khojScriptCode = 156,