Class OffsetTimeEncoding

All Implemented Interfaces:
Encoding<OffsetTime>, NaturalSortAware, Serializable, Comparator<OffsetTime>

public class OffsetTimeEncoding extends Concat2Encoding<OffsetTime,Long,ZoneOffset>
Non-null OffsetTime type.

Null values are not supported by this class and there is no default value.

Binary encoding is via the concatenation of the encodings of LongEncoding and ZoneOffset, where the first value is the nanoseconds in the day normalized to UTC. This keeps the binary sort order consistent with OffsetTime.compareTo(java.time.OffsetTime).

See Also: