code: @Override
      public int compareTo(LocalTime other) {
          int cmp = Integer.compare(hour, other.hour);
          if (cmp == 0) {
              cmp = Integer.compare(minute, other.minute);
              if (cmp == 0) {
                  cmp = Integer.compare(second, other.second);
                  if (cmp == 0) {
                      cmp = Integer.compare(nano, other.nano);
                  }
              }
          }
          return cmp;
      }
docs: Compares this time to another time.
  <p>
  The comparison is based on the time-line position of the local times within a day.
  It is "consistent with equals", as defined by {@link Comparable}.
  
  @param other  the other time to compare to, not null
  @return the comparator value, negative if less, positive if greater
  @throws NullPointerException if {@code other} is null