render-kit: | HTML_EXTENDED |
jsp-tag: | convertDateTime |
component-family: | javax.faces.webapp.ConverterTag |
renderer-type: |
This is an ICU4J converter for Date/Time.
Attributes with a pass-through
value of
true
are not interpreted by the renderer and are passed
straight through to the rendered markup, without checking for validity. Attributes with a
pass-through
value of false
are interpreted
by the renderer, and may or may not be checked for validity by the renderer.
Attributes | |||||
attribute-name | pass-through | attribute-class | description | default-value | required |
---|---|---|---|---|---|
type
|
false | java.lang.String |
This is the type of the converter. Permitted values are 'time', 'date' or 'both'. If not set, the default is 'date' | date | false |
pattern
|
false | java.lang.String |
This is the pattern string used to format the date/time. This overrides the pattern provided by the calendar and locale. | undefined | false |
timeZone
|
false | java.lang.String |
This is timezone used to format the output. | undefined | false |
calendar
|
false | java.lang.String |
This is the object used to format/parse the output to a time/date string. It has one of the following values 'gregorian', 'japanese', 'islamic', 'hebrew' or 'buddhist', or value-bound to a concrete ICU4J Calendar Object. | undefined | false |
dateStyle
|
true | java.lang.String |
Predefined formatting style which determines how the date portion of a date string is to be formatted or parsed. Applied only if type is either 'date' or 'both'. One of either 'short', 'medium', 'long' or 'full'. | undefined | false |
timeStyle
|
false | java.lang.String |
Predefined formatting style which determines how the time portion of a date string is to be formatted or parsed. Applied only if type is either 'time' or 'both'. One of either 'short', 'medium', 'long' or 'full'. | undefined | false |
locale
|
false | java.lang.String |
This is the locale used to format the output date/time. | undefined | false |