Example usage for Java org.apache.commons.beanutils.converters DateConverter fields, constructors, methods, implement or subclass
The text is from its open source code.
DateConverter() Construct a java.util.Date Converter that throws a ConversionException if an error occurs. | |
DateConverter(Object defaultValue) Construct a java.util.Date Converter that returns a default value if an error occurs. |
String[] | getPatterns() Return the date format patterns used to convert dates to/from a java.lang.String (or null if none specified). |
void | setLocale(Locale locale) Set the Locale for the Converter. |
void | setPattern(String pattern) Set a date format pattern to use to convert dates to/from a java.lang.String . |
void | setPatterns(String[] patterns) Set the date format patterns to use to convert dates to/from a java.lang.String . |
void | setTimeZone(TimeZone timeZone) Set the Time Zone to use when converting dates. |
void | setUseLocaleFormat(boolean useLocaleFormat) Indicate whether conversion should use a format/pattern or not. |