- All Implemented Interfaces:
- org.apache.commons.beanutils.Converter
public class DateConverter
extends Object
implements org.apache.commons.beanutils.Converter
Internal convertor for handling Date/Time conversions.
Supported source data types include java.util.Date,
java.sql.Date, java.sql.Time, java.sql.Timestamp, java.util.Calendar, javax.xml.datatype.XMLGregorianCalendar,
java.lang.String and any objects that return a number of milliseconds applicable to java.lang.Long
format in their toString() form.
Supported return data types are all Date/Time types, which are based on a timestamp constructor
(e.g. new MyDate(new Long(1))). Calendar return type is also supported.
Only intended for internal use.
- Author:
- tierney.matt, dmitry.buzdin