OLD | NEW |
1 /* | 1 /* |
2 ******************************************************************************* | 2 ******************************************************************************* |
3 * Copyright (C) 2010-2013, International Business Machines Corporation and | 3 * Copyright (C) 2010-2014, International Business Machines Corporation and |
4 * others. All Rights Reserved. | 4 * others. All Rights Reserved. |
5 ******************************************************************************* | 5 ******************************************************************************* |
6 * | 6 * |
7 * | 7 * |
8 * File NUMSYS.H | 8 * File NUMSYS.H |
9 * | 9 * |
10 * Modification History:* | 10 * Modification History:* |
11 * Date Name Description | 11 * Date Name Description |
12 * | 12 * |
13 ******************************************************************************** | 13 ******************************************************************************** |
(...skipping 114 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
128 * Returns the radix of this numbering system. Simple positional numbering s
ystems | 128 * Returns the radix of this numbering system. Simple positional numbering s
ystems |
129 * typically have radix 10, but might have a radix of e.g. 16 for hexadecima
l. The | 129 * typically have radix 10, but might have a radix of e.g. 16 for hexadecima
l. The |
130 * radix is less well-defined for non-positional algorithmic systems. | 130 * radix is less well-defined for non-positional algorithmic systems. |
131 * @stable ICU 4.2 | 131 * @stable ICU 4.2 |
132 */ | 132 */ |
133 int32_t getRadix() const; | 133 int32_t getRadix() const; |
134 | 134 |
135 /** | 135 /** |
136 * Returns the name of this numbering system if it was created using one of
the predefined names | 136 * Returns the name of this numbering system if it was created using one of
the predefined names |
137 * known to ICU. Otherwise, returns NULL. | 137 * known to ICU. Otherwise, returns NULL. |
| 138 * The predefined names are identical to the numbering system names as defin
ed by |
| 139 * the BCP47 definition in Unicode CLDR. |
| 140 * See also, http://www.unicode.org/repos/cldr/tags/latest/common/bcp47/numb
er.xml |
138 * @stable ICU 4.6 | 141 * @stable ICU 4.6 |
139 */ | 142 */ |
140 const char * getName() const; | 143 const char * getName() const; |
141 | 144 |
142 /** | 145 /** |
143 * Returns the description string of this numbering system. For simple | 146 * Returns the description string of this numbering system. For simple |
144 * positional systems this is the ordered string of digits (with length matc
hing | 147 * positional systems this is the ordered string of digits (with length matc
hing |
145 * the radix), e.g. "\u3007\u4E00\u4E8C\u4E09\u56DB\u4E94\u516D\u4E03\u516B\
u4E5D" | 148 * the radix), e.g. "\u3007\u4E00\u4E8C\u4E09\u56DB\u4E94\u516D\u4E03\u516B\
u4E5D" |
146 * for "hanidec"; it would be "0123456789ABCDEF" for hexadecimal. For | 149 * for "hanidec"; it would be "0123456789ABCDEF" for hexadecimal. For |
147 * algorithmic systems this is the name of the RBNF ruleset used for formatt
ing, | 150 * algorithmic systems this is the name of the RBNF ruleset used for formatt
ing, |
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
196 | 199 |
197 UBool hasContiguousDecimalDigits() const; | 200 UBool hasContiguousDecimalDigits() const; |
198 }; | 201 }; |
199 | 202 |
200 U_NAMESPACE_END | 203 U_NAMESPACE_END |
201 | 204 |
202 #endif /* #if !UCONFIG_NO_FORMATTING */ | 205 #endif /* #if !UCONFIG_NO_FORMATTING */ |
203 | 206 |
204 #endif // _NUMSYS | 207 #endif // _NUMSYS |
205 //eof | 208 //eof |
OLD | NEW |