ma.glasnost.orika.converter.builtin
Class DateAndTimeConverters.DateToSqlDateConverter
java.lang.Object
ma.glasnost.orika.CustomConverter<Date,Date>
ma.glasnost.orika.converter.builtin.DateAndTimeConverters.DateToSqlDateConverter
- All Implemented Interfaces:
- Converter<Date,Date>, MappedTypePair<Date,Date>
- Enclosing class:
- DateAndTimeConverters
public static class DateAndTimeConverters.DateToSqlDateConverter
- extends CustomConverter<Date,Date>
Provides conversion between Date and java.sql.Date
- Author:
- matt.deboer@gmail.com
|
Method Summary |
Date |
convert(Date source,
Type<? extends Date> destinationType)
Perform the conversion of source into a new instance of
destinationType. |
DateAndTimeConverters.DateToSqlDateConverter
public DateAndTimeConverters.DateToSqlDateConverter()
convert
public Date convert(Date source,
Type<? extends Date> destinationType)
- Description copied from interface:
Converter
- Perform the conversion of
source into a new instance of
destinationType.
- Parameters:
source - the source object to be converteddestinationType - the destination type to produce
- Returns:
- a new instance of
destinationType
Copyright © 2013 Glasnost. All Rights Reserved.