diff options
Diffstat (limited to 'android_icu4j/src/main/java/android/icu/text/MessageFormat.java')
-rw-r--r-- | android_icu4j/src/main/java/android/icu/text/MessageFormat.java | 19 |
1 files changed, 9 insertions, 10 deletions
diff --git a/android_icu4j/src/main/java/android/icu/text/MessageFormat.java b/android_icu4j/src/main/java/android/icu/text/MessageFormat.java index 28ecbc02a..9bb1d3687 100644 --- a/android_icu4j/src/main/java/android/icu/text/MessageFormat.java +++ b/android_icu4j/src/main/java/android/icu/text/MessageFormat.java @@ -97,7 +97,7 @@ import android.icu.util.ULocale.Category; * A numbered pattern argument is matched with a map key that contains that number * as an ASCII-decimal-digit string (without leading zero). * - * <h4><a name="patterns">Patterns and Their Interpretation</a></h4> + * <h3><a name="patterns">Patterns and Their Interpretation</a></h3> * * <code>MessageFormat</code> uses patterns of the following form: * <blockquote><pre> @@ -153,7 +153,7 @@ import android.icu.util.ULocale.Category; * shown in the table are illegal. Any <code>argStyleText</code> must * be a valid pattern string for the Format subclass used. * - * <p><table border=1> + * <table border=1> * <tr> * <th>argType * <th>argStyle @@ -195,7 +195,7 @@ import android.icu.util.ULocale.Category; * <td><code>DateFormat.getDateInstance(DateFormat.FULL, getLocale())</code> * <tr> * <td><i>argStyleText</i> - * <td><code>new SimpleDateFormat(argStyleText, getLocale()) + * <td><code>new SimpleDateFormat(argStyleText, getLocale())</code> * <tr> * <td rowspan=6><code>time</code> * <td><i>(none)</i> @@ -214,24 +214,23 @@ import android.icu.util.ULocale.Category; * <td><code>DateFormat.getTimeInstance(DateFormat.FULL, getLocale())</code> * <tr> * <td><i>argStyleText</i> - * <td><code>new SimpleDateFormat(argStyleText, getLocale()) + * <td><code>new SimpleDateFormat(argStyleText, getLocale())</code> * <tr> * <td><code>spellout</code> * <td><i>argStyleText (optional)</i> * <td><code>new RuleBasedNumberFormat(getLocale(), RuleBasedNumberFormat.SPELLOUT) - * <br/> .setDefaultRuleset(argStyleText);</code> + * <br> .setDefaultRuleset(argStyleText);</code> * <tr> * <td><code>ordinal</code> * <td><i>argStyleText (optional)</i> * <td><code>new RuleBasedNumberFormat(getLocale(), RuleBasedNumberFormat.ORDINAL) - * <br/> .setDefaultRuleset(argStyleText);</code> + * <br> .setDefaultRuleset(argStyleText);</code> * <tr> * <td><code>duration</code> * <td><i>argStyleText (optional)</i> * <td><code>new RuleBasedNumberFormat(getLocale(), RuleBasedNumberFormat.DURATION) - * <br/> .setDefaultRuleset(argStyleText);</code> + * <br> .setDefaultRuleset(argStyleText);</code> * </table> - * <p> * * <h4><a name="diffsjdk">Differences from java.text.MessageFormat</a></h4> * @@ -857,7 +856,7 @@ public class MessageFormat extends UFormat { * argument is <i>unavailable</i> if <code>arguments</code> is * <code>null</code> or has fewer than argumentIndex+1 elements. When * an argument is unavailable no substitution is performed. - * <p> + * * <table border=1> * <tr> * <th>argType or Format @@ -1022,7 +1021,7 @@ public class MessageFormat extends UFormat { * @throws IllegalArgumentException if an argument in * <code>arguments</code> is not of the type * expected by the format element(s) that use it - * @throws IllegalArgumentException if <code>arguments<code> is + * @throws IllegalArgumentException if <code>arguments</code> is * an array of Object and this format uses named arguments */ public final StringBuffer format(Object arguments, StringBuffer result, |