Here you can find the source of parseLastfmDateLong(String date)
public static Date parseLastfmDateLong(String date)
//package com.java2s; import java.text.ParseException; import java.text.SimpleDateFormat; import java.util.Date; public class Main { public static Date parseLastfmDateLong(String date) { if (date == null) { return null; }/* w w w . j a va 2 s . c om*/ SimpleDateFormat dateFormat = new SimpleDateFormat( "EEE, dd MMMM yyyy HH:mm:ss ZZZZ"); Date parsedDate = null; try { parsedDate = dateFormat.parse(date); } catch (ParseException e) { e.printStackTrace(); } return parsedDate; } }