code: public boolean liesWithinMaxBorders(Interval interval){
  		return interval.getStart() >= maxBorders.getStart() &&
  			   interval.getEnd() <= maxBorders.getEnd();
  	}
docs: Checks if the given interval lies within the maximum borders.<br>
  If the maximum borders are a and b (a<b), then the given interval has to lie in [a;b].
  @param interval The interval to check.
  @return <code>true</code> if the given interval lies within the maximum borders;<br>
  <code>false</code> otherwise.