Attribute | Type | Description | Req. | RTExp |
dateStyle | String |
Predefined formatting style which determines how the date
component of a date string is to be formatted and parsed.
Applied only if type is "date" or "both".
-
default
=
-
short
=
-
medium
=
-
long
=
-
full
=
| |
|
locale | String |
Locale whose predefined styles for dates and times are used
during formatting or parsing. If not specified, the Locale
returned by RequestContext.getLocale() will be used.
Value must be either an expression that evaluates to a
java.util.Locale instance, or a String that is valid to pass as
the first argument to the constructor java.util.Locale(String
language, String country). The empty string is passed as the
second argument.
| |
|
pattern | String |
Custom formatting pattern which determines how the
date/time string should be formatted and parsed.
| |
|
timeStyle | String |
Predefined formatting style which determines how the
time component of a date string is to be formatted and
parsed. Applied only if type is "time" or "both".
Valid values are "default", "short", "medium", "long",
and "full". Default value is "default".
| |
|
timeZone | String |
Time zone in which to interpret any time information in the date
String. Value must be either an expression that evaluates to
a java.util.Timezone instance, or a String that is a timezone ID
as described in the javadocs for java.util.TimeZone.getTimeZone().
| |
|
type | String |
Specifies what contents the string value will be
formatted to include, or parsed expecting. Valid
values are "date", "time", and "both". Default
value is "date".
| |
|