question: public static String dateToString ( Date date ) { if ( date == null ) { return null ; } else { DateFormat df = new SimpleDateFormat ( dateFormat ) ; df . setTimeZone ( utc ) ; return df . format ( date ) ; } }
target:  Converts a Date object to a string representation.