code: public DateRangeQuery end(Date end, boolean inclusive) {
          this.end = SearchUtils.toFtsUtcString(end);
          this.inclusiveEnd = inclusive;
          return this;
      }
docs: Sets the upper boundary of the range, inclusive or not depending on the second parameter.
  
  Works with a {@link Date} object, which is converted to RFC 3339 format using
  {@link SearchUtils#toFtsUtcString(Date)}, so you shouldn't use a non-default {@link #dateTimeParser(String)}
  after that.