question: public static String formatTimestamp ( Timestamp timestamp , String format ) { if ( null != timestamp ) { SimpleDateFormat sdf = new SimpleDateFormat ( format ) ; return sdf . format ( timestamp ) ; } else { return "" ; } }
target:  Formats the given timestamp object in the format HH:mm