Package com.gengoai.conversion
Class SqlDateTypeConverter
- java.lang.Object
-
- com.gengoai.conversion.SqlDateTypeConverter
-
- All Implemented Interfaces:
TypeConverter
@MetaInfServices(TypeConverter.class) public class SqlDateTypeConverter extends Object implements TypeConverter
SQL Date Converter- Author:
- David B. Bracewell
-
-
Constructor Summary
Constructors Constructor Description SqlDateTypeConverter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Object
convert(Object object, Type... parameters)
Converts an object from one type to another.Class[]
getConversionType()
Array of classes that this type converter can convert objects to
-
-
-
Method Detail
-
convert
public Object convert(Object object, Type... parameters) throws TypeConversionException
Description copied from interface:TypeConverter
Converts an object from one type to another.- Specified by:
convert
in interfaceTypeConverter
- Parameters:
object
- the source objectparameters
- the optional type parameters when using Generics.- Returns:
- the converted object
- Throws:
TypeConversionException
- the source object was not able to be converted to the target type
-
getConversionType
public Class[] getConversionType()
Description copied from interface:TypeConverter
Array of classes that this type converter can convert objects to- Specified by:
getConversionType
in interfaceTypeConverter
- Returns:
- the classes that this converter can convert to
-
-