Date/Time Format
DateTimePattern is specified by date and time pattern strings. Within date and time pattern strings, the following unquoted letters are interpreted as pattern letters representing the components of a date or time string:
Letter Description G
Era designator - AD|BC y
Year - two or four digits M
Month in year - If the number of pattern letters is 3 or more, the month is interpreted as text; otherwise, it is interpreted as a number w
Week in year W
Week in month D
Day in year d
Day in month F
Day of week in month E
Day in week a
Am/pm H
Hour in day (0-23) k
Hour in day (1-24) K
Hour in am/pm (0-11) h
Hour in am/pm (1-12) m
Minute in hour s
Second in minute
For the detailed description of the pattern symbols please see java.text.SimpleDateFormat.