public class SqlTimestampDateConverter extends Object implements TypeConverter<Timestamp,Date>
| Constructor and Description |
|---|
SqlTimestampDateConverter() |
| Modifier and Type | Method and Description |
|---|---|
Date |
toDatastoreType(Timestamp time)
Method to convert the passed member value to the datastore type.
|
Timestamp |
toMemberType(Date value)
Method to convert the passed datastore value to the member type.
|
public Timestamp toMemberType(Date value)
TypeConvertertoMemberType in interface TypeConverter<Timestamp,Date>value - Value from the datastorepublic Date toDatastoreType(Timestamp time)
TypeConvertertoDatastoreType in interface TypeConverter<Timestamp,Date>time - Value from the memberCopyright © 2016. All rights reserved.