question: public static String dateToHeaderString ( Date dat ) { SimpleDateFormat fmt = new SimpleDateFormat ( HTTP_FORMAT , Locale . US ) ; fmt . setTimeZone ( GMT_ZONE ) ; return ( fmt . format ( dat ) ) ; }
target:  Convert a date in ISO 8601 format to the format needed for an HTTP header.