Java org.apache.commons.beanutils.converters DateConverter fields, constructors, methods, implement or subclass

Example usage for Java org.apache.commons.beanutils.converters DateConverter fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.apache.commons.beanutils.converters DateConverter.

The text is from its open source code.

Constructor

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.

Method

String[]getPatterns()
Return the date format patterns used to convert dates to/from a java.lang.String (or null if none specified).
voidsetLocale(Locale locale)
Set the Locale for the Converter.
voidsetPattern(String pattern)
Set a date format pattern to use to convert dates to/from a java.lang.String.
voidsetPatterns(String[] patterns)
Set the date format patterns to use to convert dates to/from a java.lang.String.
voidsetTimeZone(TimeZone timeZone)
Set the Time Zone to use when converting dates.
voidsetUseLocaleFormat(boolean useLocaleFormat)
Indicate whether conversion should use a format/pattern or not.