core/src/main/java/com/orientechnologies/common/serialization/types/ODateTimeSerializer.java
@Override
  public void serializeInByteBufferObject(Date object, ByteBuffer buffer, Object... hints) {
    final Calendar calendar = Calendar.getInstance();
    calendar.setTime(object);
    buffer.putLong(calendar.getTimeInMillis());
  }
@Override
  public void serializeInByteBufferObject(Date object, ByteBuffer buffer, Object... hints) {
    final Calendar calendar = Calendar.getInstance();
    calendar.setTime(object);
    buffer.putLong(calendar.getTimeInMillis());
  }
@ Override public void serializeInByteBufferObject ( Date object , ByteBuffer buffer , Object ... hints ) { final Calendar calendar = Calendar . getInstance ( ) ; calendar . setTime ( object ) ; buffer . putLong ( calendar . getTimeInMillis ( ) ) ; }
{@inheritDoc}
{