Override the correct method in CypherConverter
@@ -2,6 +2,7 @@ package com.ldbc.impls.workloads.ldbc.snb.converter;
import java.text.ParseException;
import java.text.SimpleDateFormat;
+import java.util.Date;
import java.util.TimeZone;
public class CypherConverter extends Converter {
@@ -10,10 +11,10 @@ public class CypherConverter extends Converter {
final static String DATE_FORMAT = "yyyyMMdd";
@Override
- public String convertDate(long timestamp) {
+ public String convertDateTime(Date date) {
final SimpleDateFormat sdf = new SimpleDateFormat(DATE_FORMAT);
sdf.setTimeZone(TimeZone.getTimeZone("GMT"));
- return sdf.format(new java.util.Date(timestamp));
+ return sdf.format(date);
}
/**
