class ZonedTimeIndexKey extends NativeIndexSingleValueKey<ZonedTimeIndexKey> {

    @Override
    public int compareValueTo( ZonedTimeIndexKey other )
    {
        int compare = Long.compare( nanosOfDayUTC, other.nanosOfDayUTC );
        if ( compare == 0 )
        {
            compare = Integer.compare( zoneOffsetSeconds, other.zoneOffsetSeconds );
        }
        return compare;
    }

}