code: public void setRangeFromDatesInclusive(IPrimitiveType<Date> theLowerBound, IPrimitiveType<Date> theUpperBound) {
  		IPrimitiveType<Date> lowerBound = theLowerBound;
  		IPrimitiveType<Date> upperBound = theUpperBound;
  		if (lowerBound != null && lowerBound.getValue() != null && upperBound != null && upperBound.getValue() != null) {
  			if (lowerBound.getValue().after(upperBound.getValue())) {
  				IPrimitiveType<Date> temp = lowerBound;
  				lowerBound = upperBound;
  				upperBound = temp;
  			}
  		}
  		validateAndSet(
  			lowerBound != null ? new DateParam(GREATERTHAN_OR_EQUALS, lowerBound) : null,
  			upperBound != null ? new DateParam(LESSTHAN_OR_EQUALS, upperBound) : null);
  	}
docs: Sets the range from a pair of dates, inclusive on both ends. Note that if
  theLowerBound is after theUpperBound, thie method will automatically reverse
  the order of the arguments in order to create an inclusive range.
  
  @param theLowerBound A qualified date param representing the lower date bound (optionally may include time), e.g.
  "2011-02-22" or "2011-02-22T13:12:00Z". Will be treated inclusively. Either theLowerBound or
  theUpperBound may both be populated, or one may be null, but it is not valid for both to be null.
  @param theUpperBound A qualified date param representing the upper date bound (optionally may include time), e.g.
  "2011-02-22" or "2011-02-22T13:12:00Z". Will be treated inclusively. Either theLowerBound or
  theUpperBound may both be populated, or one may be null, but it is not valid for both to be null.