ICU-8053 add link to the LDML spec, C.11 Language Plural Rules

X-SVN-Rev: 29928
This commit is contained in:
Markus Scherer 2011-04-29 18:04:45 +00:00
parent 283f4dec75
commit 0765a860a0

View file

@ -42,13 +42,17 @@ class RuleParser;
class PluralKeywordEnumeration;
/**
* Defines rules for mapping positive long values onto a small set of
* Defines rules for mapping non-negative numeric values onto a small set of
* keywords. Rules are constructed from a text description, consisting
* of a series of keywords and conditions. The {@link #select} method
* examines each condition in order and returns the keyword for the
* first condition that matches the number. If none match,
* default rule(other) is returned.
*
* For more information, details, and tips for writing rules, see the
* LDML spec, C.11 Language Plural Rules:
* http://www.unicode.org/draft/reports/tr35/tr35.html#Language_Plural_Rules
*
* Examples:<pre>
* "one: n is 1; few: n in 2..4"</pre>
* This defines two rules, for 'one' and 'few'. The condition for