I am getting java.text.ParseException: Unparseable date: "IST" exception when i am trying to convert a String object into Date object. I tried to find the solution on the forum, but those were not helpful.
Date expiry=null;
SimpleDateFormat format = new SimpleDateFormat("E MMM dd HH:mm:ss Z yyyy");
String actualDate;
if(!(actualDate=token.nextToken()).equals("null")){
expiry = format.parse(actualDate);
}//if