While parsing string to date object using SimpleDateFormat, I am getting below error. java.text.ParseException: Unparseable date: "Tue, 29 Mar 2016 11:27:37 -0400"
The code I am using to parsed date is
DateFormat df2 = new SimpleDateFormat("EEE, d MMM yyyy HH:mm:ss Z");
I am able to parse dates 'Mon, 13 Jun 2016 11:48:54 +0300'.
I noticed one thing that dates having +ve timezone(+0300) are getting parsed but -ve timezone(-0400) are not getting parsed.
Thanks for help.
