public static String getDateFormat ( final Date date , final String pattern ) { SimpleDateFormat simpleDateFormat = buildDateFormat ( pattern ) ; return simpleDateFormat . format ( date ) ; }
Format date by given pattern .