@Contract(threading=SAFE) public class HttpDateGenerator extends Object
Modifier and Type | Field and Description |
---|---|
private long |
dateAsLong |
private String |
dateAsText |
private DateFormat |
dateformat |
static TimeZone |
GMT
The time zone to use in the date header.
|
static String |
PATTERN_RFC1123
Date format pattern used to generate the header in RFC 1123 format.
|
Constructor and Description |
---|
HttpDateGenerator() |
public static final String PATTERN_RFC1123
private final DateFormat dateformat
private long dateAsLong
private String dateAsText
public HttpDateGenerator()
public String getCurrentDate()
WebARTS Library Licensed Under the GNU - General Public License. Other Libraries licensed under their respective Open Source Licenses