/** * Set plural rules. These are initially set in the constructor based on the locale, * and usually do not need to be changed. * * @param ruleDescription new plural rule description * @stable ICU 4.2 */ public void setPluralRules(String ruleDescription) { pluralRules = PluralRules.createRules(ruleDescription); }
private Object readResolve() throws ObjectStreamException { return PluralRules.createRules(data); } }