ICU-10880 Add some RBNF documentation for the new syntax

X-SVN-Rev: 36188
This commit is contained in:
George Rhoten 2014-08-18 16:01:00 +00:00
parent f7c551d636
commit b027245b45

View File

@ -433,6 +433,20 @@ import com.ibm.icu.util.UResourceBundleIterator;
* <td width="165" valign="top">in rule in fraction rule set</td>
* <td>Omit the optional text if multiplying the number by the rule's base value yields 1.</td>
* </tr>
* <tr>
* <td width="37">$(cardinal,<i>plural syntax</i>)</td>
* <td width="23"></td>
* <td width="165" valign="top">in all rule sets</td>
* <td>This provides the ability to choose a word based on the number divided by the base value for the specified locale.
* This uses the cardinal plural rules from PluralFormat. All strings used in the plural format are treated as the same base value for parsing.</td>
* </tr>
* <tr>
* <td width="37">$(ordinal,<i>plural syntax</i>)</td>
* <td width="23"></td>
* <td width="165" valign="top">in all rule sets</td>
* <td>This provides the ability to choose a word based on the number divided by the base value for the specified locale.
* This uses the ordinal plural rules from PluralFormat. All strings used in the plural format are treated as the same base value for parsing.</td>
* </tr>
* </table>
*
* <p>The substitution descriptor (i.e., the text between the token characters) may take one
@ -480,6 +494,8 @@ import com.ibm.icu.util.UResourceBundleIterator;
* @author Richard Gillam
* @see NumberFormat
* @see DecimalFormat
* @see PluralFormat
* @see PluralRules
* @stable ICU 2.0
*/
public class RuleBasedNumberFormat extends NumberFormat {