| Package | Description | 
|---|---|
| org.gbif.api.util | 
| Modifier and Type | Method and Description | 
|---|---|
static <T extends Comparable<? super T>> | 
Range.closed(T from,
      T to)
Factory method. 
 | 
static Range<LocalDate> | 
SearchTypeValidator.parseDateRange(String value)
Parses a range of ISO dates. 
 | 
static Range<LocalDate> | 
IsoDateParsingUtils.parseDateRange(String value)
Parses a closed-open range of dates, using the most specific format for each side of the range. 
 | 
static Range<Double> | 
SearchTypeValidator.parseDecimalRange(String value)
Parses a decimal range in the format 123.1,456. 
 | 
static Range<DistanceUnit.Distance> | 
SearchTypeValidator.parseDistanceRange(String value)
Parses a distance range in the format 123m,456km. 
 | 
static Range<Integer> | 
SearchTypeValidator.parseIntegerRange(String value)
Parses an integer range in the format 123,456 
 | 
| Modifier and Type | Method and Description | 
|---|---|
boolean | 
Range.encloses(@NotNull Range<T> other)
Returns  
true if the bounds of other do not extend outside the bounds of this
 range. | 
Copyright © 2024 Global Biodiversity Information Facility (GBIF). All rights reserved.