Implements the {@code Externalizable} interface to write the object.
@serialData
Each serializable class is mapped to a type that is the first byte
_in the stream. Refer to each class {@code writeReplace}
serialized form for the value of the type and sequence of values for the type.
!(ul)
!(li)<a href="{@docRoot}/serialized-form.html#hunt.time.Duration">Duration.writeReplace</a>
!(li)<a href="{@docRoot}/serialized-form.html#hunt.time.Instant">Instant.writeReplace</a>
!(li)<a href="{@docRoot}/serialized-form.html#hunt.time.LocalDate">LocalDate.writeReplace</a>
!(li)<a href="{@docRoot}/serialized-form.html#hunt.time.LocalDateTime">LocalDateTime.writeReplace</a>
!(li)<a href="{@docRoot}/serialized-form.html#hunt.time.LocalTime">LocalTime.writeReplace</a>
!(li)<a href="{@docRoot}/serialized-form.html#hunt.time.MonthDay">MonthDay.writeReplace</a>
!(li)<a href="{@docRoot}/serialized-form.html#hunt.time.OffsetTime">OffsetTime.writeReplace</a>
!(li)<a href="{@docRoot}/serialized-form.html#hunt.time.OffsetDateTime">OffsetDateTime.writeReplace</a>
!(li)<a href="{@docRoot}/serialized-form.html#hunt.time.Period">Period.writeReplace</a>
!(li)<a href="{@docRoot}/serialized-form.html#hunt.time.Year">Year.writeReplace</a>
!(li)<a href="{@docRoot}/serialized-form.html#hunt.time.YearMonth">YearMonth.writeReplace</a>
!(li)<a href="{@docRoot}/serialized-form.html#hunt.time.ZoneId">ZoneId.writeReplace</a>
!(li)<a href="{@docRoot}/serialized-form.html#hunt.time.ZoneOffset">ZoneOffset.writeReplace</a>
!(li)<a href="{@docRoot}/serialized-form.html#hunt.time.ZonedDateTime">ZonedDateTime.writeReplace</a>
</ul>
Implements the {@code Externalizable} interface to write the object. @serialData
Each serializable class is mapped to a type that is the first byte _in the stream. Refer to each class {@code writeReplace} serialized form for the value of the type and sequence of values for the type. !(ul) !(li)<a href="{@docRoot}/serialized-form.html#hunt.time.Duration">Duration.writeReplace</a> !(li)<a href="{@docRoot}/serialized-form.html#hunt.time.Instant">Instant.writeReplace</a> !(li)<a href="{@docRoot}/serialized-form.html#hunt.time.LocalDate">LocalDate.writeReplace</a> !(li)<a href="{@docRoot}/serialized-form.html#hunt.time.LocalDateTime">LocalDateTime.writeReplace</a> !(li)<a href="{@docRoot}/serialized-form.html#hunt.time.LocalTime">LocalTime.writeReplace</a> !(li)<a href="{@docRoot}/serialized-form.html#hunt.time.MonthDay">MonthDay.writeReplace</a> !(li)<a href="{@docRoot}/serialized-form.html#hunt.time.OffsetTime">OffsetTime.writeReplace</a> !(li)<a href="{@docRoot}/serialized-form.html#hunt.time.OffsetDateTime">OffsetDateTime.writeReplace</a> !(li)<a href="{@docRoot}/serialized-form.html#hunt.time.Period">Period.writeReplace</a> !(li)<a href="{@docRoot}/serialized-form.html#hunt.time.Year">Year.writeReplace</a> !(li)<a href="{@docRoot}/serialized-form.html#hunt.time.YearMonth">YearMonth.writeReplace</a> !(li)<a href="{@docRoot}/serialized-form.html#hunt.time.ZoneId">ZoneId.writeReplace</a> !(li)<a href="{@docRoot}/serialized-form.html#hunt.time.ZoneOffset">ZoneOffset.writeReplace</a> !(li)<a href="{@docRoot}/serialized-form.html#hunt.time.ZonedDateTime">ZonedDateTime.writeReplace</a> </ul>
@param _out the data stream to write to, not null