From 30920d9cd9a5a23a1253c729f30807201f9fd733 Mon Sep 17 00:00:00 2001
From: Peter Edberg SimpleDateFormat
supports
* the date and time formatting algorithm and pattern letters defined by UTS#35
* Unicode Locale Data Markup Language (LDML). The following pattern letters are
- * currently available:
**
@@ -83,7 +84,7 @@ import com.ibm.icu.util.ULocale.Category; * *1..3 *AD *Era - Replaced with the Era string for the current date. One to three letters for the - * abbreviated form, four letters for the long form, five for the narrow form. + * abbreviated form, four letters for the long (wide) form, five for the narrow form. ** *4 @@ -178,7 +179,7 @@ import com.ibm.icu.util.ULocale.Category; *ç²å *Cyclic year name. Calendars such as the Chinese lunar calendar (and related calendars) * and the Hindu calendars use 60-year cycles of year names. Use one through three letters for the abbreviated - * name, four for the full name, or five for the narrow name (currently the data only provides abbreviated names, + * name, four for the full (wide) name, or five for the narrow name (currently the data only provides abbreviated names, * which will be used for all requested name widths). If the calendar does not provide cyclic year name data, * or if the year value to be formatted is out of the range of years for which cyclic name data is provided, * then numeric formatting is used (behaves like 'y'). @@ -197,7 +198,7 @@ import com.ibm.icu.util.ULocale.Category; *1..2 *02 *Quarter - Use one or two for the numerical quarter, three for the abbreviation, or four - * for the full name. + * for the full (wide) name (five for the narrow name is not yet supported). ** *3 @@ -212,7 +213,7 @@ import com.ibm.icu.util.ULocale.Category; *1..2 *02 *Stand-Alone Quarter - Use one or two for the numerical quarter, three for the abbreviation, - * or four for the full name. + * or four for the full name (five for the narrow name is not yet supported). ** *3 @@ -228,11 +229,12 @@ import com.ibm.icu.util.ULocale.Category; *1..2 *09 *Month - Use one or two for the numerical month, three for the abbreviation, four for - * the full name, or five for the narrow name. + * the full (wide) name, or five for the narrow name. With two ("MM"), the month number is zero-padded + * if necessary (e.g. "08"). ** *3 - *Sept + *Sep ** *4 @@ -247,11 +249,12 @@ import com.ibm.icu.util.ULocale.Category; *1..2 *09 *Stand-Alone Month - Use one or two for the numerical month, three for the abbreviation, - * or four for the full name, or 5 for the narrow name. + * four for the full (wide) name, or 5 for the narrow name. With two ("LL"), the month number is zero-padded if + * necessary (e.g. "08"). ** *3 - *Sept + *Sep ** *4 @@ -266,7 +269,8 @@ import com.ibm.icu.util.ULocale.Category; *w *1..2 *27 - *Week of Year. + *Week of Year. Use "w" to show the minimum number of digits, or "ww" to always show two digits + * (zero-padding if necessary, e.g. "08"). ** *W @@ -279,7 +283,8 @@ import com.ibm.icu.util.ULocale.Category; *d *1..2 *1 - *Date - Day of the month + *Date - Day of the month. Use "d" to show the minimum number of digits, or "dd" to always show + * two digits (zero-padding if necessary, e.g. "08"). ** *D @@ -307,8 +312,8 @@ import com.ibm.icu.util.ULocale.Category; * day *E *1..3 - *Tues - *Day of week - Use one through three letters for the short day, or four for the full name, + * Tue + *Day of week - Use one through three letters for the short day, four for the full (wide) name, * five for the narrow name, or six for the short name. *@@ -332,7 +337,7 @@ import com.ibm.icu.util.ULocale.Category; * ** *3 - *Tues + *Tue ** *4 @@ -351,12 +356,12 @@ import com.ibm.icu.util.ULocale.Category; *1 *2 *Stand-Alone local day of week - Use one letter for the local numeric value (same - * as 'e'), three for the short day, four for the full name, five for the narrow name, or six for + * as 'e'), three for the short day, four for the full (wide) name, five for the narrow name, or six for * the short name. ** *3 - *Tues + *Tue ** *4 @@ -411,14 +416,16 @@ import com.ibm.icu.util.ULocale.Category; *m *1..2 *59 - *Minute. Use one or two for zero padding. + *Minute. Use "m" to show the minimum number of digits, or "mm" to always show two digits + * (zero-padding if necessary, e.g. "08").. ** *second *s *1..2 *12 - *Second. Use one or two for zero padding. + *Second. Use "s" to show the minimum number of digits, or "ss" to always show two digits + * (zero-padding if necessary, e.g. "08"). ** S -- 2.40.0