code: public static Date parseDate(final String date, final List<String> patterns)
  	{
  		for (final String pattern : patterns)
  		{
  			final SimpleDateFormat formatter = new SimpleDateFormat(pattern);
  			try
  			{
  				return formatter.parse(date);
  			}
  			catch (final ParseException e)
  			{
  				// Do nothing...
  			}
  		}
  		return null;
  	}
docs: Tries to convert the given String to a Date.
  
  @param date
  The date to convert as String.
  @param patterns
  The date patterns to convert the String to a date-object.
  @return Gives a Date if the convertion was successfull otherwise null.