/** * Can be used to parse http times. For instance something like a http * header Date: Tue, 26 Mar 2013 13:47:13 GMT * <p/> * INFO: consider the JodaTime based * DateUtil.parseHttpDateFormatToDateTime(...) version * * @param httpDateFormat in http format: Date: Tue, 26 Mar 2013 13:47:13 GMT * @return A nice "Date" object containing that http timestamp. * @throws ParseException If something goes wrong. */ public static Date parseHttpDateFormat(String httpDateFormat) throws ParseException { return parseHttpDateFormatToDateTime(httpDateFormat); }