public class DateArrayStringConverter extends Object implements AttributeConverter<Date[],String[]>
DateString.FORMAT will convert between dates and strings
using a user defined date format, e.g. "yy-MM-dd"
DateLong will read and write dates as Long values in the database.| Constructor and Description |
|---|
DateArrayStringConverter(String userDefinedFormat) |
| Modifier and Type | Method and Description |
|---|---|
Date[] |
toEntityAttribute(String[] dateValues) |
String[] |
toGraphProperty(Date[] value) |
public DateArrayStringConverter(String userDefinedFormat)
public String[] toGraphProperty(Date[] value)
toGraphProperty in interface AttributeConverter<Date[],String[]>public Date[] toEntityAttribute(String[] dateValues)
toEntityAttribute in interface AttributeConverter<Date[],String[]>Copyright © 2015–2020 Neo Technology, Inc.. All rights reserved.