This is due to different jdk versions on android.
String string = "Tue Oct 16 00:00:55 IST 2012";
Date date = new SimpleDateFormat("EEE MMM dd HH:mm:ss z yyyy").parse(string);
and also tried
String string = "Tue Oct 16 00:00:55 IST 2012";
Date date = new SimpleDateFormat("EEE MMM dd HH:mm:ss 'UTC' yyyy").parse(string);
adding Locale in SimpleDateFormat constructor has no effect.
I have searched and got this but can't find any workaround.
Is there any workaround for this?