]> granicus.if.org Git - icu/commitdiff
ICU-9044 Better description of 'U' character behavior (C)
authorPeter Edberg <pedberg@unicode.org>
Tue, 31 Jan 2012 07:35:50 +0000 (07:35 +0000)
committerPeter Edberg <pedberg@unicode.org>
Tue, 31 Jan 2012 07:35:50 +0000 (07:35 +0000)
X-SVN-Rev: 31280

icu4c/source/i18n/unicode/smpdtfmt.h

index d2f69dd9586a0b2a31be88ba22a3e1533075c05c..1eb5190ece733db38988ce9e6814cf71b41f0751 100644 (file)
@@ -72,7 +72,7 @@ class TimeZoneFormat;
  * y        year                    (Number)            1996
  * Y        year (week of year)     (Number)            1997
  * u        extended year           (Number)            4601
- * U        cyclic year name        (Text & Number)     ren-chen & 29
+ * U        cyclic year name        (Text,NumFallback)  ren-chen (29)
  * Q        Quarter                 (Text & Number)     Q2 & 02
  * M        month in year           (Text & Number)     July & 07
  * d        day in month            (Number)            10
@@ -121,6 +121,9 @@ class TimeZoneFormat;
  * (Text & Number): 3 or over, use text, otherwise use number.  (e.g., "M" produces "1",
  * "MM" produces "01", "MMM" produces "Jan", and "MMMM" produces "January".)
  * <P>
+ * (Text,NumFallback): Behaves like Text if there is supporting data, like
+ * Number otherwise.
+ * <P>
  * Any characters in the pattern that are not in the ranges of ['a'..'z'] and
  * ['A'..'Z'] will be treated as quoted text. For instance, characters
  * like ':', '.', ' ', '#' and '@' will appear in the resulting time text