code: @Override
  	public Date getRequestValue(final Request request) {
  		if (isPresent(request)) {
  			// User entered a valid date
  			String dateParam = request.getParameter(getId() + "-date");
  			if (dateParam == null) {
  				return null;
  			}
  
  			// Check the date is not empty and correct length
  			if (Util.empty(dateParam) || dateParam.length() != INTERNAL_DATE_FORMAT.length()) {
  				LOG.warn("Date parameter is not the valid length of " + INTERNAL_DATE_FORMAT.
  						length() + " characters ("
  						+ dateParam + ") and will be treated as null");
  				return null;
  			}
  
  			// Check it is valid
  			try {
  				SimpleDateFormat sdf = new SimpleDateFormat(INTERNAL_DATE_FORMAT);
  				sdf.setLenient(lenient);
  				return sdf.parse(dateParam);
  			} catch (ParseException e) {
  				LOG.warn(
  						"Date parameter could not be parsed (" + dateParam + ") and will be treated as null",
  						e);
  				return null;
  			}
  		} else {
  			return getValue();
  		}
  	}
docs: {@inheritDoc}