Java Reference
In-Depth Information
and square bracket characters are defined, and the sharp sign ( # ) and curly braces are “re-
served for future use.”
As is common with date formatting languages, the number of repetitions of a letter in the
pattern gives a clue to its intended length of detail. Thus, for example, “MMM” gives “Jan,”
whereas “MMMM” gives “January.”
Table 6-6 is an attempt at a complete list of the formatting characters, adapted from the
javadoc for JSR-310.
Search WWH ::




Custom Search