Package org.apache.http.protocol
Class HttpDateGenerator
- java.lang.Object
-
- org.apache.http.protocol.HttpDateGenerator
-
-
Field Summary
Fields Modifier and Type Field Description private long
dateAsLong
private java.lang.String
dateAsText
private java.text.DateFormat
dateformat
static java.util.TimeZone
GMT
The time zone to use in the date header.static java.lang.String
PATTERN_RFC1123
Date format pattern used to generate the header in RFC 1123 format.
-
Constructor Summary
Constructors Constructor Description HttpDateGenerator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getCurrentDate()
-
-
-
Field Detail
-
PATTERN_RFC1123
public static final java.lang.String PATTERN_RFC1123
Date format pattern used to generate the header in RFC 1123 format.- See Also:
- Constant Field Values
-
GMT
public static final java.util.TimeZone GMT
The time zone to use in the date header.
-
dateformat
private final java.text.DateFormat dateformat
-
dateAsLong
private long dateAsLong
-
dateAsText
private java.lang.String dateAsText
-
-