code: public void setSelectableDateRange(Date min, Date max) {
  		if (min == null) {
  			minSelectableDate = defaultMinSelectableDate;
  		} else {
  			minSelectableDate = min;
  		}
  		if (max == null) {
  			maxSelectableDate = defaultMaxSelectableDate;
  		} else {
  			maxSelectableDate = max;
  		}
  		if (maxSelectableDate.before(minSelectableDate)) {
  			minSelectableDate = defaultMinSelectableDate;
  			maxSelectableDate = defaultMaxSelectableDate;
  		}
  	}
docs: Sets a valid date range for selectable dates. If max is before min, the
  default range with no limitation is set.
  
  @param min
  the minimum selectable date or null (then the minimum date is
  set to 01\01\0001)
  @param max
  the maximum selectable date or null (then the maximum date is
  set to 01\01\9999)