diff options
Diffstat (limited to 'Build/source/libs/icu-xetex/i18n/unicode/dcfmtsym.h')
-rw-r--r-- | Build/source/libs/icu-xetex/i18n/unicode/dcfmtsym.h | 22 |
1 files changed, 18 insertions, 4 deletions
diff --git a/Build/source/libs/icu-xetex/i18n/unicode/dcfmtsym.h b/Build/source/libs/icu-xetex/i18n/unicode/dcfmtsym.h index 3769ea0299a..ac040c06e0a 100644 --- a/Build/source/libs/icu-xetex/i18n/unicode/dcfmtsym.h +++ b/Build/source/libs/icu-xetex/i18n/unicode/dcfmtsym.h @@ -1,6 +1,6 @@ /* ******************************************************************************** -* Copyright (C) 1997-2005, International Business Machines +* Copyright (C) 1997-2006, International Business Machines * Corporation and others. All Rights Reserved. ******************************************************************************** * @@ -119,8 +119,12 @@ public: /** Nan symbol */ kNaNSymbol, /** Significant digit symbol - * @draft ICU 3.0 */ + * @stable ICU 3.0 */ kSignificantDigitSymbol, + /** The monetary grouping separator + * @draft ICU 3.6 + */ + kMonetaryGroupingSeparatorSymbol, /** count symbol constants */ kFormatSymbolCount }; @@ -214,7 +218,7 @@ public: /** * Returns the locale for this object. Two flavors are available: * valid and actual locale. - * @draft ICU 2.8 likely to change after ICU 3.0, based on feedback + * @stable ICU 2.8 */ Locale getLocale(ULocDataLocaleType type, UErrorCode& status) const; @@ -277,6 +281,12 @@ public: */ inline const UnicodeString &getConstSymbol(ENumberFormatSymbol symbol) const; + /** + * Returns that pattern stored in currecy info. Internal API for use by NumberFormat API. + * @internal + */ + inline const UChar* getCurrencyPattern(void) const; + private: /** * Private symbol strings. @@ -305,6 +315,7 @@ private: char actualLocale[ULOC_FULLNAME_CAPACITY]; char validLocale[ULOC_FULLNAME_CAPACITY]; + const UChar* currPattern; }; // ------------------------------------- @@ -347,7 +358,10 @@ DecimalFormatSymbols::getLocale() const { return locale; } - +inline const UChar* +DecimalFormatSymbols::getCurrencyPattern() const { + return currPattern; +} U_NAMESPACE_END #endif /* #if !UCONFIG_NO_FORMATTING */ |