The DateFormat class allows you to format dates and times with
predefined styles in a locale-sensitive manner. Formatting times
with the DateFormat class is similar to formatting dates.
Formatting dates with the DateFormat class is a two-step process.
First, you create a formatter with the getDateInstance method.
Second, you invoke the format method, which returns a string containing
the formatted date.
DateTime values are formatted using standard or custom patterns stored
in the properties of a DateTimeFormatInfo.