Lines Matching refs:rules
63 * rules define both what plural cases exist in a language, and to
65 * <li>It provides predefined plural rules for many locales. Thus, the programmer
75 * a predefined set of plural rules. You can create one using one of
93 * rules of the <code>PluralFormat</code> object do not contain a plural case
159 * <h4>Defining Custom Plural Rules</h4>
160 * <p>If you need to use <code>PluralFormat</code> with custom rules, you can
179 * This locale will be used to get the set of plural rules and for standard
190 * rules for this locale. This locale will also be used for
199 * Creates a new <code>PluralFormat</code> for a given set of rules.
201 * @param rules defines the behavior of the <code>PluralFormat</code>
207 PluralFormat(const PluralRules& rules, UErrorCode& status);
210 * Creates a new <code>PluralFormat</code> for a given set of rules.
214 * @param rules defines the behavior of the <code>PluralFormat</code>
220 PluralFormat(const Locale& locale, const PluralRules& rules, UErrorCode& status);
224 * The default locale will be used to get the set of plural rules and for
237 * The locale will be used to get the set of plural rules and for
240 * rules for this locale. This locale will also be used for
251 * Creates a new <code>PluralFormat</code> for a given set of rules, a
253 * @param rules defines the behavior of the <code>PluralFormat</code>
261 PluralFormat(const PluralRules& rules,
266 * Creates a new <code>PluralFormat</code> for a given set of rules, a
269 * rules for this locale. This locale will also be used for
271 * @param rules defines the behavior of the <code>PluralFormat</code>
280 const PluralRules& rules,
299 * for the plural rules.
528 void init(const PluralRules* rules, const Locale& curlocale, UErrorCode& status);