mirror of
https://github.com/unicode-org/icu.git
synced 2025-04-07 14:31:31 +00:00
ICU-9249 deprecate PluralFormat.setLocale(locale)
X-SVN-Rev: 31743
This commit is contained in:
parent
1d98ac0736
commit
30b430f929
1 changed files with 3 additions and 1 deletions
|
@ -627,7 +627,9 @@ public class PluralFormat extends UFormat {
|
|||
* formatter. If <code>ulocale</code> is <code>null</code>, the
|
||||
* default <code>FORMAT</code> locale will be used.
|
||||
* @see Category#FORMAT
|
||||
* @stable ICU 3.8
|
||||
* @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.
|
||||
*/
|
||||
public void setLocale(ULocale ulocale) {
|
||||
if (ulocale == null) {
|
||||
|
|
Loading…
Add table
Reference in a new issue