code: public void addQueryDateTimeRange(final String name, final Range<DateTime> range) {
          if (range.hasLowerBound()) {
              String value = range.lowerEndpoint().toString(QUERY_STRING_DATE_TIME_FORMAT);
              addQueryParam(name + ">", value);
          }
  
          if (range.hasUpperBound()) {
              String value = range.upperEndpoint().toString(QUERY_STRING_DATE_TIME_FORMAT);
              addQueryParam(name + "<", value);
          }
      }
docs: Add query parameters for date ranges.
  
  @param name name of query parameter
  @param range date range