ChronoPeriodImpl.writeReplace

Writes the Chronology using a <a href="{@docRoot}/serialized-form.html#hunt.time.chrono.Ser">dedicated serialized form</a>. !(pre) _out.writeByte(12); // identifies this as a ChronoPeriodImpl _out.writeUTF(getId()); // the chronology _out.writeInt(years); _out.writeInt(months); _out.writeInt(days); </pre>

@return the instance of {@code Ser}, not null

class ChronoPeriodImpl
protected
Object
writeReplace
()

Meta