Here you can find the source of parseDate(String rawDate)
public static Date parseDate(String rawDate)
//package com.java2s; import java.text.ParseException; import java.text.SimpleDateFormat; import java.util.Date; import java.util.Locale; public class Main { private static SimpleDateFormat PARSER_GRIND = new SimpleDateFormat( "EEE, d MMM yyyy HH:mm:ss Z", Locale.US); public static Date parseDate(String rawDate) { try {//from w ww . j a v a 2 s. co m return PARSER_GRIND.parse(rawDate); } catch (ParseException e) { return new Date(); } } }