diff options
Diffstat (limited to 'android_icu4j/src/main/java/android/icu/text/RuleBasedNumberFormat.java')
-rw-r--r-- | android_icu4j/src/main/java/android/icu/text/RuleBasedNumberFormat.java | 220 |
1 files changed, 110 insertions, 110 deletions
diff --git a/android_icu4j/src/main/java/android/icu/text/RuleBasedNumberFormat.java b/android_icu4j/src/main/java/android/icu/text/RuleBasedNumberFormat.java index 1c074c253..e5281bdf0 100644 --- a/android_icu4j/src/main/java/android/icu/text/RuleBasedNumberFormat.java +++ b/android_icu4j/src/main/java/android/icu/text/RuleBasedNumberFormat.java @@ -1,7 +1,7 @@ /* GENERATED SOURCE. DO NOT MODIFY. */ /* ******************************************************************************* - * Copyright (C) 1996-2015, International Business Machines Corporation and * + * Copyright (C) 1996-2016, International Business Machines Corporation and * * others. All Rights Reserved. * ******************************************************************************* */ @@ -121,34 +121,34 @@ import android.icu.util.UResourceBundleIterator; * * <table border="0" width="630"> * <tr> - * <td width="21"></td> - * <td width="257" valign="top"><strong><< thousand >></strong></td> - * <td width="340" valign="top">[the rule whose base value is 1,000 is applicable to 25,340]</td> + * <td style="width: 21;"></td> + * <td style="width: 257; vertical-align: top;"><strong><< thousand >></strong></td> + * <td style="width: 340; vertical-align: top;">[the rule whose base value is 1,000 is applicable to 25,340]</td> * </tr> * <tr> - * <td width="21"></td> - * <td width="257" valign="top"><strong>twenty->></strong> thousand >></td> - * <td width="340" valign="top">[25,340 over 1,000 is 25. The rule for 20 applies.]</td> + * <td style="width: 21;"></td> + * <td style="width: 257; vertical-align: top;"><strong>twenty->></strong> thousand >></td> + * <td style="width: 340; vertical-align: top;">[25,340 over 1,000 is 25. The rule for 20 applies.]</td> * </tr> * <tr> - * <td width="21"></td> - * <td width="257" valign="top">twenty-<strong>five</strong> thousand >></td> - * <td width="340" valign="top">[25 mod 10 is 5. The rule for 5 is "five."</td> + * <td style="width: 21;"></td> + * <td style="width: 257; vertical-align: top;">twenty-<strong>five</strong> thousand >></td> + * <td style="width: 340; vertical-align: top;">[25 mod 10 is 5. The rule for 5 is "five."</td> * </tr> * <tr> - * <td width="21"></td> - * <td width="257" valign="top">twenty-five thousand <strong><< hundred >></strong></td> - * <td width="340" valign="top">[25,340 mod 1,000 is 340. The rule for 100 applies.]</td> + * <td style="width: 21;"></td> + * <td style="width: 257; vertical-align: top;">twenty-five thousand <strong><< hundred >></strong></td> + * <td style="width: 340; vertical-align: top;">[25,340 mod 1,000 is 340. The rule for 100 applies.]</td> * </tr> * <tr> - * <td width="21"></td> - * <td width="257" valign="top">twenty-five thousand <strong>three</strong> hundred >></td> - * <td width="340" valign="top">[340 over 100 is 3. The rule for 3 is "three."]</td> + * <td style="width: 21;"></td> + * <td style="width: 257; vertical-align: top;">twenty-five thousand <strong>three</strong> hundred >></td> + * <td style="width: 340; vertical-align: top;">[340 over 100 is 3. The rule for 3 is "three."]</td> * </tr> * <tr> - * <td width="21"></td> - * <td width="257" valign="top">twenty-five thousand three hundred <strong>forty</strong></td> - * <td width="340" valign="top">[340 mod 100 is 40. The rule for 40 applies. Since 40 divides + * <td style="width: 21;"></td> + * <td style="width: 257; vertical-align: top;">twenty-five thousand three hundred <strong>forty</strong></td> + * <td style="width: 340; vertical-align: top;">[340 mod 100 is 40. The rule for 40 applies. Since 40 divides * evenly by 10, the hyphen and substitution in the brackets are omitted.]</td> * </tr> * </table> @@ -210,22 +210,22 @@ import android.icu.util.UResourceBundleIterator; * * <table border="0" width="100%"> * <tr> - * <td width="5%" valign="top"></td> - * <td width="8%" valign="top"><em>bv</em>:</td> + * <td style="width: 5%; vertical-align: top;"></td> + * <td style="width: 8%; vertical-align: top;"><em>bv</em>:</td> * <td valign="top"><em>bv</em> specifies the rule's base value. <em>bv</em> is a decimal * number expressed using ASCII digits. <em>bv</em> may contain spaces, period, and commas, * which are ignored. The rule's divisor is the highest power of 10 less than or equal to * the base value.</td> * </tr> * <tr> - * <td width="5%" valign="top"></td> - * <td width="8%" valign="top"><em>bv</em>/<em>rad</em>:</td> + * <td style="width: 5%; vertical-align: top;"></td> + * <td style="width: 8%; vertical-align: top;"><em>bv</em>/<em>rad</em>:</td> * <td valign="top"><em>bv</em> specifies the rule's base value. The rule's divisor is the * highest power of <em>rad</em> less than or equal to the base value.</td> * </tr> * <tr> - * <td width="5%" valign="top"></td> - * <td width="8%" valign="top"><em>bv</em>>:</td> + * <td style="width: 5%; vertical-align: top;"></td> + * <td style="width: 8%; vertical-align: top;"><em>bv</em>>:</td> * <td valign="top"><em>bv</em> specifies the rule's base value. To calculate the divisor, * let the radix be 10, and the exponent be the highest exponent of the radix that yields a * result less than or equal to the base value. Every > character after the base value @@ -233,8 +233,8 @@ import android.icu.util.UResourceBundleIterator; * raised to the power of the exponent; otherwise, the divisor is 1.</td> * </tr> * <tr> - * <td width="5%" valign="top"></td> - * <td width="8%" valign="top"><em>bv</em>/<em>rad</em>>:</td> + * <td style="width: 5%; vertical-align: top;"></td> + * <td style="width: 8%; vertical-align: top;"><em>bv</em>/<em>rad</em>>:</td> * <td valign="top"><em>bv</em> specifies the rule's base value. To calculate the divisor, * let the radix be <em>rad</em>, and the exponent be the highest exponent of the radix that * yields a result less than or equal to the base value. Every > character after the radix @@ -242,13 +242,13 @@ import android.icu.util.UResourceBundleIterator; * raised to the power of the exponent; otherwise, the divisor is 1.</td> * </tr> * <tr> - * <td width="5%" valign="top"></td> - * <td width="8%" valign="top">-x:</td> + * <td style="width: 5%; vertical-align: top;"></td> + * <td style="width: 8%; vertical-align: top;">-x:</td> * <td valign="top">The rule is a negative-number rule.</td> * </tr> * <tr> - * <td width="5%" valign="top"></td> - * <td width="8%" valign="top">x.x:</td> + * <td style="width: 5%; vertical-align: top;"></td> + * <td style="width: 8%; vertical-align: top;">x.x:</td> * <td valign="top">The rule is an <em>improper fraction rule</em>. If the full stop in * the middle of the rule name is replaced with the decimal point * that is used in the language or DecimalFormatSymbols, then that rule will @@ -259,8 +259,8 @@ import android.icu.util.UResourceBundleIterator; * the punctuation of either the full stop or comma.</td> * </tr> * <tr> - * <td width="5%" valign="top"></td> - * <td width="8%" valign="top">0.x:</td> + * <td style="width: 5%; vertical-align: top;"></td> + * <td style="width: 8%; vertical-align: top;">0.x:</td> * <td valign="top">The rule is a <em>proper fraction rule</em>. If the full stop in * the middle of the rule name is replaced with the decimal point * that is used in the language or DecimalFormatSymbols, then that rule will @@ -271,8 +271,8 @@ import android.icu.util.UResourceBundleIterator; * the punctuation of either the full stop or comma</td> * </tr> * <tr> - * <td width="5%" valign="top"></td> - * <td width="8%" valign="top">x.0:</td> + * <td style="width: 5%; vertical-align: top;"></td> + * <td style="width: 8%; vertical-align: top;">x.0:</td> * <td valign="top">The rule is a <em>master rule</em>. If the full stop in * the middle of the rule name is replaced with the decimal point * that is used in the language or DecimalFormatSymbols, then that rule will @@ -283,19 +283,19 @@ import android.icu.util.UResourceBundleIterator; * the punctuation of either the full stop or comma</td> * </tr> * <tr> - * <td width="5%" valign="top"></td> - * <td width="8%" valign="top">Inf:</td> - * <td valign="top">The rule for infinity.</td> + * <td style="width: 5%; vertical-align: top;"></td> + * <td style="width: 8%; vertical-align: top;">Inf:</td> + * <td style="vertical-align: top;">The rule for infinity.</td> * </tr> * <tr> - * <td width="5%" valign="top"></td> - * <td width="8%" valign="top">NaN:</td> - * <td valign="top">The rule for an IEEE 754 NaN (not a number).</td> + * <td style="width: 5%; vertical-align: top;"></td> + * <td style="width: 8%; vertical-align: top;">NaN:</td> + * <td style="vertical-align: top;">The rule for an IEEE 754 NaN (not a number).</td> * </tr> * <tr> - * <td width="5%" valign="top"></td> - * <td width="8%" valign="top"><em>nothing</em></td> - * <td valign="top">If the rule's rule descriptor is left out, the base value is one plus the + * <td style="width: 5%; vertical-align: top;"></td> + * <td style="width: 8%; vertical-align: top;"><em>nothing</em></td> + * <td style="vertical-align: top;">If the rule's rule descriptor is left out, the base value is one plus the * preceding rule's base value (or zero if this is the first rule in the list) in a normal * rule set. In a fraction rule set, the base value is the same as the preceding rule's * base value.</td> @@ -361,124 +361,124 @@ import android.icu.util.UResourceBundleIterator; * * <table border="0" width="100%"> * <tr> - * <td width="37"></td> - * <td width="23">>></td> - * <td width="165" valign="top">in normal rule</td> + * <td style="width: 37;"></td> + * <td style="width: 23;">>></td> + * <td style="width: 165; vertical-align: top;">in normal rule</td> * <td>Divide the number by the rule's divisor and format the remainder</td> * </tr> * <tr> - * <td width="37"></td> - * <td width="23"></td> - * <td width="165" valign="top">in negative-number rule</td> + * <td style="width: 37;"></td> + * <td style="width: 23;"></td> + * <td style="width: 165; vertical-align: top;">in negative-number rule</td> * <td>Find the absolute value of the number and format the result</td> * </tr> * <tr> - * <td width="37"></td> - * <td width="23"></td> - * <td width="165" valign="top">in fraction or master rule</td> + * <td style="width: 37;"></td> + * <td style="width: 23;"></td> + * <td style="width: 165; vertical-align: top;">in fraction or master rule</td> * <td>Isolate the number's fractional part and format it.</td> * </tr> * <tr> - * <td width="37"></td> - * <td width="23"></td> - * <td width="165" valign="top">in rule in fraction rule set</td> + * <td style="width: 37;"></td> + * <td style="width: 23;"></td> + * <td style="width: 165; vertical-align: top;">in rule in fraction rule set</td> * <td>Not allowed.</td> * </tr> * <tr> - * <td width="37"></td> - * <td width="23">>>></td> - * <td width="165" valign="top">in normal rule</td> + * <td style="width: 37;"></td> + * <td style="width: 23;">>>></td> + * <td style="width: 165; vertical-align: top;">in normal rule</td> * <td>Divide the number by the rule's divisor and format the remainder, * but bypass the normal rule-selection process and just use the * rule that precedes this one in this rule list.</td> * </tr> * <tr> - * <td width="37"></td> - * <td width="23"></td> - * <td width="165" valign="top">in all other rules</td> + * <td style="width: 37;"></td> + * <td style="width: 23;"></td> + * <td style="width: 165; vertical-align: top;">in all other rules</td> * <td>Not allowed.</td> * </tr> * <tr> - * <td width="37"></td> - * <td width="23"><<</td> - * <td width="165" valign="top">in normal rule</td> + * <td style="width: 37;"></td> + * <td style="width: 23;"><<</td> + * <td style="width: 165; vertical-align: top;">in normal rule</td> * <td>Divide the number by the rule's divisor and format the quotient</td> * </tr> * <tr> - * <td width="37"></td> - * <td width="23"></td> - * <td width="165" valign="top">in negative-number rule</td> + * <td style="width: 37;"></td> + * <td style="width: 23;"></td> + * <td style="width: 165; vertical-align: top;">in negative-number rule</td> * <td>Not allowed.</td> * </tr> * <tr> - * <td width="37"></td> - * <td width="23"></td> - * <td width="165" valign="top">in fraction or master rule</td> + * <td style="width: 37;"></td> + * <td style="width: 23;"></td> + * <td style="width: 165; vertical-align: top;">in fraction or master rule</td> * <td>Isolate the number's integral part and format it.</td> * </tr> * <tr> - * <td width="37"></td> - * <td width="23"></td> - * <td width="165" valign="top">in rule in fraction rule set</td> + * <td style="width: 37;"></td> + * <td style="width: 23;"></td> + * <td style="width: 165; vertical-align: top;">in rule in fraction rule set</td> * <td>Multiply the number by the rule's base value and format the result.</td> * </tr> * <tr> - * <td width="37"></td> - * <td width="23">==</td> - * <td width="165" valign="top">in all rule sets</td> + * <td style="width: 37;"></td> + * <td style="width: 23;">==</td> + * <td style="width: 165; vertical-align: top;">in all rule sets</td> * <td>Format the number unchanged</td> * </tr> * <tr> - * <td width="37"></td> - * <td width="23">[]</td> - * <td width="165" valign="top">in normal rule</td> + * <td style="width: 37;"></td> + * <td style="width: 23;">[]</td> + * <td style="width: 165; vertical-align: top;">in normal rule</td> * <td>Omit the optional text if the number is an even multiple of the rule's divisor</td> * </tr> * <tr> - * <td width="37"></td> - * <td width="23"></td> - * <td width="165" valign="top">in negative-number rule</td> + * <td style="width: 37;"></td> + * <td style="width: 23;"></td> + * <td style="width: 165; vertical-align: top;">in negative-number rule</td> * <td>Not allowed.</td> * </tr> * <tr> - * <td width="37"></td> - * <td width="23"></td> - * <td width="165" valign="top">in improper-fraction rule</td> + * <td style="width: 37;"></td> + * <td style="width: 23;"></td> + * <td style="width: 165; vertical-align: top;">in improper-fraction rule</td> * <td>Omit the optional text if the number is between 0 and 1 (same as specifying both an * x.x rule and a 0.x rule)</td> * </tr> * <tr> - * <td width="37"></td> - * <td width="23"></td> - * <td width="165" valign="top">in master rule</td> + * <td style="width: 37;"></td> + * <td style="width: 23;"></td> + * <td style="width: 165; vertical-align: top;">in master rule</td> * <td>Omit the optional text if the number is an integer (same as specifying both an x.x * rule and an x.0 rule)</td> * </tr> * <tr> - * <td width="37"></td> - * <td width="23"></td> - * <td width="165" valign="top">in proper-fraction rule</td> + * <td style="width: 37;"></td> + * <td style="width: 23;"></td> + * <td style="width: 165; vertical-align: top;">in proper-fraction rule</td> * <td>Not allowed.</td> * </tr> * <tr> - * <td width="37"></td> - * <td width="23"></td> - * <td width="165" valign="top">in rule in fraction rule set</td> + * <td style="width: 37;"></td> + * <td style="width: 23;"></td> + * <td style="width: 165; vertical-align: 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 style="width: 37;">$(cardinal,<i>plural syntax</i>)$</td> + * <td style="width: 23;"></td> + * <td style="width: 165; vertical-align: top;">in all rule sets</td> * <td>This provides the ability to choose a word based on the number divided by the radix to the power of the * exponent of the base value for the specified locale, which is normally equivalent to the << value. * 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 style="width: 37;">$(ordinal,<i>plural syntax</i>)$</td> + * <td style="width: 23;"></td> + * <td style="width: 165; vertical-align: top;">in all rule sets</td> * <td>This provides the ability to choose a word based on the number divided by the radix to the power of the * exponent of the base value for the specified locale, which is normally equivalent to the << value. * This uses the ordinal plural rules from PluralFormat. All strings used in the plural format are treated @@ -491,20 +491,20 @@ import android.icu.util.UResourceBundleIterator; * * <table border="0" width="100%"> * <tr> - * <td width="42"></td> - * <td width="166" valign="top">a rule set name</td> + * <td style="width: 42;"></td> + * <td style="width: 166; vertical-align: top;">a rule set name</td> * <td>Perform the mathematical operation on the number, and format the result using the * named rule set.</td> * </tr> * <tr> - * <td width="42"></td> - * <td width="166" valign="top">a DecimalFormat pattern</td> + * <td style="width: 42;"></td> + * <td style="width: 166; vertical-align: top;">a DecimalFormat pattern</td> * <td>Perform the mathematical operation on the number, and format the result using a * DecimalFormat with the specified pattern. The pattern must begin with 0 or #.</td> * </tr> * <tr> - * <td width="42"></td> - * <td width="166" valign="top">nothing</td> + * <td style="width: 42;"></td> + * <td style="width: 166; vertical-align: top;">nothing</td> * <td>Perform the mathematical operation on the number, and format the result using the rule * set containing the current rule, except:<ul> * <li>You can't have an empty substitution descriptor with a == substitution.</li> @@ -1196,7 +1196,7 @@ public class RuleBasedNumberFormat extends NumberFormat { } /** - * <strong><font face=helvetica color=red>NEW</font></strong> + * <strong style="font-family: helvetica; color: red;">NEW</strong> * Implement android.icu.text.NumberFormat: * Format a BigInteger. */ @@ -1207,7 +1207,7 @@ public class RuleBasedNumberFormat extends NumberFormat { } /** - * <strong><font face=helvetica color=red>NEW</font></strong> + * <strong style="font-family: helvetica; color: red;">NEW</strong> * Implement android.icu.text.NumberFormat: * Format a BigDecimal. */ @@ -1218,7 +1218,7 @@ public class RuleBasedNumberFormat extends NumberFormat { } /** - * <strong><font face=helvetica color=red>NEW</font></strong> + * <strong style="font-family: helvetica; color: red;">NEW</strong> * Implement android.icu.text.NumberFormat: * Format a BigDecimal. */ |