code: @Override
      public void writeDate(Date date) {
          buf.put(AMF.TYPE_DATE);
          buf.putDouble(date.getTime());
          buf.putShort((short) (TimeZone.getDefault().getRawOffset() / 60 / 1000));
      }
docs: {@inheritDoc}