diff options
Diffstat (limited to 'android_icu4j/src/main/java/android/icu/text/SimpleDateFormat.java')
-rw-r--r-- | android_icu4j/src/main/java/android/icu/text/SimpleDateFormat.java | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/android_icu4j/src/main/java/android/icu/text/SimpleDateFormat.java b/android_icu4j/src/main/java/android/icu/text/SimpleDateFormat.java index 4fe24312a..11eabd620 100644 --- a/android_icu4j/src/main/java/android/icu/text/SimpleDateFormat.java +++ b/android_icu4j/src/main/java/android/icu/text/SimpleDateFormat.java @@ -47,7 +47,7 @@ import android.icu.util.ULocale.Category; * * <p><code>SimpleDateFormat</code> is a concrete class for formatting and * parsing dates in a locale-sensitive manner. It allows for formatting - * (date -> text), parsing (text -> date), and normalization. + * (date -> text), parsing (text -> date), and normalization. * * <p> * <code>SimpleDateFormat</code> allows you to start by choosing @@ -101,7 +101,7 @@ import android.icu.util.ULocale.Category; * <td style="text-align: center">1..n</td> * <td>1996</td> * <td>Year. Normally the length specifies the padding, but for two letters it also specifies the maximum - * length. Example:<div align="center"> + * length. Example:<div style="text-align: center"> * <center> * <table border="1" cellpadding="2" cellspacing="0"> * <tr> @@ -626,12 +626,12 @@ import android.icu.util.ULocale.Category; * <pre> * Format Pattern Result * -------------- ------- - * "yyyy.MM.dd G 'at' HH:mm:ss vvvv" ->> 1996.07.10 AD at 15:08:56 Pacific Time - * "EEE, MMM d, ''yy" ->> Wed, July 10, '96 - * "h:mm a" ->> 12:08 PM - * "hh 'o''clock' a, zzzz" ->> 12 o'clock PM, Pacific Daylight Time - * "K:mm a, vvv" ->> 0:00 PM, PT - * "yyyyy.MMMMM.dd GGG hh:mm aaa" ->> 01996.July.10 AD 12:08 PM + * "yyyy.MM.dd G 'at' HH:mm:ss vvvv" ->> 1996.07.10 AD at 15:08:56 Pacific Time + * "EEE, MMM d, ''yy" ->> Wed, July 10, '96 + * "h:mm a" ->> 12:08 PM + * "hh 'o''clock' a, zzzz" ->> 12 o'clock PM, Pacific Daylight Time + * "K:mm a, vvv" ->> 0:00 PM, PT + * "yyyyy.MMMMM.dd GGG hh:mm aaa" ->> 01996.July.10 AD 12:08 PM * </pre> * </blockquote> * <strong>Code Sample:</strong> @@ -697,7 +697,7 @@ import android.icu.util.ULocale.Category; * time zone. There is one common decimal format to handle all the numbers; * the digit count is handled programmatically according to the pattern. * - * <h4>Synchronization</h4> + * <h3>Synchronization</h3> * * Date formats are not synchronized. It is recommended to create separate * format instances for each thread. If multiple threads access a format @@ -1267,7 +1267,7 @@ public class SimpleDateFormat extends DateFormat { * Formats a date or time, which is the standard millis * since January 1, 1970, 00:00:00 GMT. * <p>Example: using the US locale: - * "yyyy.MM.dd G 'at' HH:mm:ss zzz" ->> 1996.07.10 AD at 15:08:56 PDT + * "yyyy.MM.dd G 'at' HH:mm:ss zzz" ->> 1996.07.10 AD at 15:08:56 PDT * @param cal the calendar whose date-time value is to be formatted into a date-time string * @param toAppendTo where the new date-time text is to be appended * @param pos the formatting position. On input: an alignment field, |