code: public void writeExternal(ObjectOutput out) throws IOException
     {
        out.writeInt(orderNumber);
  
        byte[] data = new JCRDateFormat().serialize(value);
        out.writeInt(data.length);
        out.write(data);
     }
docs: {@inheritDoc}