use of com.ibm.icu.text.PluralRules.PluralType in project es6draft by anba.
the class PluralRulesObject method createPluralRules.
private PluralRules createPluralRules() {
ULocale locale = ULocale.forLanguageTag(this.locale);
PluralType pluralType = "cardinal".equals(type) ? PluralType.CARDINAL : PluralType.ORDINAL;
return PluralRules.forLocale(locale, pluralType);
}
Aggregations