public class LocalTimeLongConverter extends Object implements TypeConverter<javax.time.calendar.LocalTime,Long>
LOCALISER
Constructor and Description |
---|
LocalTimeLongConverter() |
Modifier and Type | Method and Description |
---|---|
Long |
toDatastoreType(javax.time.calendar.LocalTime date)
Method to convert the passed member value to the datastore type.
|
javax.time.calendar.LocalTime |
toMemberType(Long val)
Method to convert the passed datastore value to the member type.
|
public javax.time.calendar.LocalTime toMemberType(Long val)
TypeConverter
toMemberType
in interface TypeConverter<javax.time.calendar.LocalTime,Long>
val
- Value from the datastorepublic Long toDatastoreType(javax.time.calendar.LocalTime date)
TypeConverter
toDatastoreType
in interface TypeConverter<javax.time.calendar.LocalTime,Long>
date
- Value from the memberCopyright © 2019. All rights reserved.