public DateRangeQuery end ( Date end , boolean inclusive ) { this . end = SearchUtils . toFtsUtcString ( end ) ; this . inclusiveEnd = inclusive ; return this ; }
Sets the upper boundary of the range inclusive or not depending on the second parameter .