Package org.openxava.converters
Class DateUtilSQLConverter
- java.lang.Object
-
- org.openxava.converters.DateUtilSQLConverter
-
- All Implemented Interfaces:
java.io.Serializable
,IConverter
public class DateUtilSQLConverter extends java.lang.Object implements IConverter
In java a java.util.Date and in database a java.sql.Date.- Author:
- Javier Paniza
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description DateUtilSQLConverter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Object
toDB(java.lang.Object o)
java.lang.Object
toJava(java.lang.Object o)
-
-
-
Method Detail
-
toDB
public java.lang.Object toDB(java.lang.Object o) throws ConversionException
- Specified by:
toDB
in interfaceIConverter
- Throws:
ConversionException
-
toJava
public java.lang.Object toJava(java.lang.Object o) throws ConversionException
- Specified by:
toJava
in interfaceIConverter
- Throws:
ConversionException
-
-