public class InstantLongConverter extends Object implements TypeConverter<java.time.Instant,Long>
| Constructor and Description |
|---|
InstantLongConverter() |
| Modifier and Type | Method and Description |
|---|---|
Long |
toDatastoreType(java.time.Instant inst)
Method to convert the passed member value to the datastore type.
|
java.time.Instant |
toMemberType(Long ms)
Method to convert the passed datastore value to the member type.
|
public java.time.Instant toMemberType(Long ms)
TypeConvertertoMemberType in interface TypeConverter<java.time.Instant,Long>ms - Value from the datastorepublic Long toDatastoreType(java.time.Instant inst)
TypeConvertertoDatastoreType in interface TypeConverter<java.time.Instant,Long>inst - Value from the memberCopyright © 2020. All rights reserved.