]> granicus.if.org Git - icu/commitdiff
ICU-22194 Update DateTime skeleton docs with link to symbols table
authorElango Cheran <elango@unicode.org>
Tue, 7 Feb 2023 00:48:25 +0000 (16:48 -0800)
committerElango Cheran <elango@unicode.org>
Thu, 9 Feb 2023 16:34:53 +0000 (11:34 -0500)
docs/userguide/format_parse/datetime/index.md

index 8ca2c72ffbe66e09c2849f116988fcce861c43de..fea937f0230e94ef3ed4a43169aff9591c5e0bda 100644 (file)
@@ -342,6 +342,14 @@ patterns for different locales:
 | es_ES  | `"d 'de' MMMM, H:mm"`                    | "2 de abril, 17:00"  |
 | ja_JP  | `"M月d日 H:mm"`                            | "4月2日 17:00"         |
 
+A full list of date and time symbols that can be used in skeleton strings
+(input to `DateTimePatternGenerator`) can be found in the 
+[UTS 35 (LDML) Date Field Symbol Table](https://unicode.org/reports/tr35/tr35-dates.html#Date_Field_Symbol_Table).
+
+Note: some date time symbols are intended only for use in skeleton strings, and are not intended
+to be used in pattern strings (output from `DateTimePatternGenerator`). Such symbols are noted accordingly
+in the table.
+
 The most important DateTimePatternGenerator methods are the varieties of
 getBestPattern.