Below is my code but it throws an exception saying that unable to parse date format.
try{
DateFormat outputFormat = new SimpleDateFormat("yyyyMMddHHmmss zzzz", Locale.getDefault());
DateFormat inputFormat = new SimpleDateFormat("yyyy-MM-dd-HH:mm:ss", Locale.getDefault());
String inputText = channelListArrayList.get(0).getTv().getProgramme().get(j).getStart();
Date date = inputFormat.parse(inputText);
String outputText = outputFormat.format(date);
} catch (Exception e) {
e.printStackTrace();
}