public class DateLongConverter extends Object implements AttributeConverter<Date,Number>
Date to Long.
Since the value as represented in JSON loses type information and is just numeric, the converted type used is Number| Constructor and Description |
|---|
DateLongConverter() |
| Modifier and Type | Method and Description |
|---|---|
Date |
toEntityAttribute(Number value) |
Long |
toGraphProperty(Date value) |
public Long toGraphProperty(Date value)
toGraphProperty in interface AttributeConverter<Date,Number>public Date toEntityAttribute(Number value)
toEntityAttribute in interface AttributeConverter<Date,Number>Copyright © 2018 Neo Technology, Inc.. All rights reserved.