Attributes

The style of the date. Values include: default, short, medium,
long, and full.

locale

java.util.Locale

Yes

The name of the locale to be used, instead of the default.

pattern

String

Yes

A custom Date formatting pattern, in the format used by java.text.SimpleDateFormat.

timeStyle

String

Yes

The style of the time. Values include: default, short, medium, long,
and full.

timeZone

java.util.TimeZone

Yes

The time zone to use instead of GMT (the default timezone). When
this value is a value-binding to a TimeZone instance, that
timezone is used. Otherwise this value is treated as a String
containing a timezone id, ie as the ID parameter of method
java.util.TimeZone.getTimeZone(String).

type

String

Yes

Specifies whether the date, time, or both should be
parsed/formatted. Values include: date, time, and both.
Default based on setting of timeStyle and dateStyle.