mirror of
https://github.com/unicode-org/icu.git
synced 2025-04-07 22:44:49 +00:00
ICU-9249 deprecate PluralFormat::setLocale(locale)
X-SVN-Rev: 31742
This commit is contained in:
parent
0788d31075
commit
1d98ac0736
1 changed files with 5 additions and 2 deletions
|
@ -389,11 +389,14 @@ public:
|
|||
* i.e., a pattern that was applied previously will be removed,
|
||||
* and the NumberFormat is set to the default number format for
|
||||
* the locale. The resulting format behaves the same as one
|
||||
* constructed from {@link #PluralFormat(const Locale& locale, UPLURAL_TYPE_CARDINAL, UErrorCode& status)}.
|
||||
* constructed from {@link #PluralFormat(const Locale& locale, UPluralType type, UErrorCode& status)}
|
||||
* with UPLURAL_TYPE_CARDINAL.
|
||||
* @param locale the <code>locale</code> to use to configure the formatter.
|
||||
* @param status output param set to success/failure code on exit, which
|
||||
* must not indicate a failure before the function call.
|
||||
* @stable ICU 4.0
|
||||
* @deprecated ICU 50 This method clears the pattern and might create
|
||||
* a different kind of PluralRules instance;
|
||||
* use one of the constructors to create a new instance instead.
|
||||
*/
|
||||
void setLocale(const Locale& locale, UErrorCode& status);
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue