The input date is Tue Jun 09 07:00:00 SAST 2015
. I want to parse this to a date so I used
SimpleDateFormat inputFormatter = new SimpleDateFormat("EEE MMM dd HH:mm:ss z yyyy", Locale.ENGLISH);
Date inputDate = inputFormatter.parse("Tue Jun 09 07:00:00 SAST 2015");
This throws a ParseException at offset 20