Here you can find the source of formatCreationDate(String creationDate)
static String formatCreationDate(String creationDate) throws ParseException
//package com.java2s; //License from project: Open Source License import java.text.ParseException; import java.text.SimpleDateFormat; public class Main { static String formatCreationDate(String creationDate) throws ParseException { SimpleDateFormat simpleDateFormat = new SimpleDateFormat("dd MMM yyyy HH:mm"); SimpleDateFormat jiraDateFormat = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSSZ"); return simpleDateFormat.format(jiraDateFormat.parse(creationDate)); }//from w ww .ja va 2 s .co m }