I have this
java.text.ParseException: Unparseable date: "Thu, 21 Apr 2016 18:00:00 +0000" (at offset 26)
when using new SimpleDateFormat("E, dd MMMM yyyy hh:mm:ss a", Locale.ROOT);
Why is that can be?
EDIT:
This is correct answer due to parsing pattern.
SimpleDateFormat f = new SimpleDateFormat("EEE, dd MMM yyyy HH:mm:ss Z", Locale.ROOT);
And also Android somehow gives error when the Locale is ROOT
and when it is ENGLISH
everything works fine.