| java.lang.Object | ||
| ↳ | org.apache.commons.beanutils.converters.AbstractConverter | |
| ↳ | org.mule.modules.clarizen.api.ClarizenDateConverter | |
|
[Expand]
Inherited Constants | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
org.apache.commons.beanutils.converters.AbstractConverter
| |||||||||||
| Fields | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| displayPatterns | |||||||||||
| locale | |||||||||||
| patterns | |||||||||||
| timeZone | |||||||||||
| useLocaleFormat | |||||||||||
|
[Expand]
Inherited Fields | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
org.apache.commons.beanutils.converters.AbstractConverter
| |||||||||||
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Provide a String representation of a
java.lang.Class. | |||||||||||
Return the date format patterns used to convert
dates to/from a
java.lang.String
(or null if none specified). | |||||||||||
Set a date format pattern to use to convert
dates to/from a
java.lang.String. | |||||||||||
Set the date format patterns to use to convert
dates to/from a
java.lang.String. | |||||||||||
Provide a String representation of this date/time converter.
| |||||||||||
| Protected Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Convert the input object into a Date object of the
specified type.
| |||||||||||
Return a
DateFormat | |||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
org.apache.commons.beanutils.converters.AbstractConverter
| |||||||||||
From class
java.lang.Object
| |||||||||||
From interface
org.apache.commons.beanutils.Converter
| |||||||||||
| defaultValue |
|---|
Provide a String representation of a java.lang.Class.
| type | The java.lang.Class. |
|---|
Return the date format patterns used to convert
dates to/from a java.lang.String
(or null if none specified).
| displayPatterns |
|---|
| locale |
|---|
Set a date format pattern to use to convert
dates to/from a java.lang.String.
| pattern | The format pattern. |
|---|
Set the date format patterns to use to convert
dates to/from a java.lang.String.
| patterns | Array of format patterns. |
|---|
| timeZone |
|---|
| useLocaleFormat |
|---|
Provide a String representation of this date/time converter.
| value |
|---|
| Throwable |
|---|
Convert the input object into a Date object of the specified type.
This method handles conversions between the following types:
javax.xml.datatype.XMLGregorianCalendarjava.util.Datejava.util.Calendarjava.sql.Datejava.sql.Timejava.sql.TimestampString to
any of the above types.
For String conversion, if the converter has been configured
with one or more patterns (using setPatterns()), then
the conversion is attempted with each of the specified patterns.
Otherwise the default DateFormat for the default locale
(and style if configured) will be used.
| targetType | Data type to which this value should be converted. |
|---|---|
| value | The input value to be converted. |
| Exception | if conversion cannot be performed successfully |
|---|
Return a DateFormat for the Locale.
| locale | The Locale to create the Format with (may be null) |
|---|---|
| timeZone | The Time Zone create the Format with (may be null) |