Home | History | Annotate | Download | only in number

Lines Matching defs:plural

50     StandardPlural plural;
120 * @param plural
121 * The plural form of the number, required only if the pattern contains the triple currency sign, "¤¤¤"
124 public void setNumberProperties(boolean isNegative, StandardPlural plural) {
125 assert (plural != null) == needsPlurals();
127 this.plural = plural;
131 * Returns true if the pattern represented by this MurkyModifier requires a plural keyword in order to localize.
165 // Slower path when we require the plural keyword.
167 for (StandardPlural plural : StandardPlural.VALUES) {
168 setNumberProperties(false, plural);
169 pm.setModifier(false, plural, createConstantModifier(a, b));
170 setNumberProperties(true, plural);
171 pm.setModifier(true, plural, createConstantModifier(a, b));
176 // Faster path when plural keyword is not needed.
232 StandardPlural plural = copy.getStandardPlural(rules);
233 micros.modMiddle = pm.getModifier(quantity.isNegative(), plural);
337 // Plural currencies set via the API are formatted in LongNameHandler.
339 assert plural != null;
340 return currency.getName(symbols.getULocale(), Currency.PLURAL_LONG_NAME, plural.getKeyword(), null);
372 if (plural != null) {
373 assert plural.ordinal() == (AffixPatternProvider.Flags.PLURAL_MASK & plural.ordinal());
374 flags |= plural.ordinal();