code: static Range<Long> range(long start, long end) {
          return Range.closed(start, end).canonical(DiscreteDomain.longs());
      }
docs: Returns a canonical range that can be added to the internal range
  set. Only ranges returned by this method can be added to the range set,
  otherwise range operations like contains may yield unexpected
  results. Consult the Guava doc on Range for details.
  
  @param start    Start of the range
  @param end      End of the range
  @return Canonical range