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