code: private static boolean checkIncludeDate(final Date after, final List<String> documentTypeValues,
  			final DocumentElement documentElement) {
  		try {
  			if (documentElement.getMadePublicDate() != null && documentElement.getMadePublicDate().length() > 0) {
  				return getDate(documentElement.getMadePublicDate()).after(after)
  						&& documentTypeValues.contains(documentElement.getDocumentType());
  			} else {
  				return getDate(documentElement.getCreatedDate()).after(after)
  						&& documentTypeValues.contains(documentElement.getDocumentType());				
  			}			
  		} catch (final ParseException e) {
  			LOGGER.warn("Problem getting date from{} : exception:{}", documentElement, e);
  			return false;
  		}
  	}
docs: Check include date.
  
  @param after
  the after
  @param documentTypeValues
  the document type values
  @param documentElement
  the document element
  @return true, if successful