Converts java.util.Date
values. The specified pattern syntax must conform to the rules specified by java.text.SimpleDateFormat
. When the specified pattern is used to parse the string, the type
, dateStyle
, and timeStyle
properties are ignored.
Info | Value |
---|---|
Converter ID | javax.faces.DateTime |
Handler Class | None |
Description | Converter implementation for java.util.Date values. |
Palette Location | JSF Core/Converter/Date and Time |
Name | Required | Type | Description |
---|---|---|---|
dateStyle | false | javax.el.ValueExpression
(must evaluate to java.lang.String )
|
Format style to display the date in.
If not specified, the default value is "default". Valid values are:
|
locale | false | javax.el.ValueExpression
(must evaluate to java.lang.String )
| Locale to format for date and time. |
pattern | false | javax.el.ValueExpression
(must evaluate to java.lang.String )
| Custom data and time format pattern. |
timeStyle | false | javax.el.ValueExpression
(must evaluate to java.lang.String )
|
Format style to display the time in.
If not specified, the default value is "default". Valid values are:
|
timeZone | false | javax.el.ValueExpression
(must evaluate to java.lang.String )
| Time zone to for the display. |
type | false | javax.el.ValueExpression
(must evaluate to java.lang.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".
If not specified, the default value is "date". Valid values are:
|
Output generated by Vdldoc View Declaration Language Documentation Generator.