Here you can find the source of parseHttpDateString(String s)
public static Date parseHttpDateString(String s) throws ParseException
//package com.java2s; //License from project: Open Source License import java.text.ParseException; import java.text.SimpleDateFormat; import java.util.*; public class Main { public static Date parseHttpDateString(String s) throws ParseException { return new SimpleDateFormat("EEE, dd MMM yyyy HH:mm:ss zzz", Locale.US).parse(s); }// w w w .jav a 2 s.c om }