Date and Time - f:convertDateTime

Converter Information 
InfoValue
Converter IDjavax.faces.DateTime
Handler ClassNone
Description Converter implementation for java.util.Date values.
Palette LocationJSF Core/Converter/Date and Time
Attributes 
NameRequiredTypeDescription
dateStylefalsejavax.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:

  • default
  • full
  • long
  • medium
  • short
localefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
Locale to format for date and time.
patternfalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
Custom data and time format pattern.
timeStylefalsejavax.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:

  • default
  • full
  • long
  • medium
  • short
timeZonefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
Time zone to for the display.
typefalsejavax.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:

  • both
  • date
  • time

Output generated by Vdldoc View Declaration Language Documentation Generator.