common/src/main/java/HTTPClient/Util.java
/**
     * This returns a string containing the date and time in <var>date</var>
     * formatted according to a subset of RFC-1123. The format is defined in
     * the HTTP/1.0 spec (RFC-1945), section 3.3, and the HTTP/1.1 spec
     * (RFC-2616), section 3.3.1. Note that Date.toGMTString() is close, but
     * is missing the weekday and supresses the leading zero if the day is
     * less than the 10th. Instead we use the SimpleDateFormat class.
     *
     * <P>Some versions of JDK 1.1.x are bugged in that their GMT uses
     * daylight savings time... Therefore we use our own timezone
     * definitions.
     *
     * @param date the date and time to be converted
     * @return a string containg the date and time as used in http
     */
This returns a string containing the date and time in date
formatted according to a subset of RFC-1123.

Some versions of JDK 1.1.x are bugged in that their GMT uses
daylight savings time... Therefore we use our own timezone
definitions.

@param date the date and time to be converted
@return a string containg the date and time as used in http
This returns a string containing the date and time in date formatted according to a subset of RFC - 1123 . Some versions of JDK 1 . 1 . x are bugged in that their GMT uses daylight savings time ... Therefore we use our own timezone definitions . @param date the date and time to be converted @return a string containg the date and time as used in http
public static final String httpDate(Date date)
    {
		synchronized (http_format_lock)
		{
		    if (http_format == null)
		    	setupFormatter();
		}
		return http_format.format(date);
    }
public static final String httpDate ( Date date ) { synchronized ( http_format_lock ) { if ( http_format == null ) setupFormatter ( ) ; } return http_format . format ( date ) ; }
This returns a string containing the date and time in <var>date</var>
 formatted according to a subset of RFC-1123.
This returns a string containing the date and time in <var > date< / var > formatted according to a subset of RFC - 1123 .