Class DateStringConverter

java.lang.Object
org.neo4j.ogm.typeconversion.DateStringConverter
All Implemented Interfaces:
AttributeConverter<Date,String>

public class DateStringConverter extends Object implements AttributeConverter<Date,String>
By default the OGM will map date objects to UTC-based ISO8601 compliant String values when being stored as a node / relationship property Users can override this behaviour for Date objects using the appropriate annotations: 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.
Author:
Vince Bickers, Gerrit Meier