core/src/main/java/com/orientechnologies/common/serialization/types/ODateTimeSerializer.java
@Override
  public Date deserializeFromByteBufferObject(ByteBuffer buffer) {
    final Calendar calendar = Calendar.getInstance();
    calendar.setTimeInMillis(buffer.getLong());
    return calendar.getTime();
  }
@Override
  public Date deserializeFromByteBufferObject(ByteBuffer buffer) {
    final Calendar calendar = Calendar.getInstance();
    calendar.setTimeInMillis(buffer.getLong());
    return calendar.getTime();
  }
{@inheritDoc}