code: private void writeObject(java.io.ObjectOutputStream out)
          throws java.io.IOException {
          // we just write the textual description to the stream, so we
          // have an implementation-independent streaming format
          out.writeUTF(this.toString());
          out.writeObject(this.locale);
          out.writeInt(this.roundingMode);
      }
docs: Writes this object to a stream.
  @param out The stream to write to.