web/src/main/java/org/springframework/security/web/savedrequest/FastHttpDateFormat.java
private static Long internalParseDate(String value, DateFormat[] formats) {
		Date date = null;

		for (int i = 0; (date == null) && (i < formats.length); i++) {
			try {
				date = formats[i].parse(value);
			}
			catch (ParseException ignored) {
			}
		}

		if (date == null) {
			return null;
		}

		return new Long(date.getTime());
	}
private static Long internalParseDate(String value, DateFormat[] formats) {
		Date date = null;

		for (int i = 0; (date == null) && (i < formats.length); i++) {
			try {
				date = formats[i].parse(value);
			}
			catch (ParseException ignored) {
			}
		}

		if (date == null) {
			return null;
		}

		return new Long(date.getTime());
	}
private static Long internalParseDate ( String value , DateFormat [ ] formats ) { Date date = null ; for ( int i = 0 ; ( date == null ) && ( i < formats . length ) ; i ++ ) { try { date = formats [ i ] . parse ( value ) ; } catch ( ParseException ignored ) { } } if ( date == null ) { return null ; } return new Long ( date . getTime ( ) ) ; }
Parses date with given formatters.

@param value The string to parse
@param formats Array of formats to use

@return Parsed date (or <code>null</code> if no formatter mached)
Parses date with given formatters .