public class DateTool extends Object
Modifier and Type | Field and Description |
---|---|
static DateFormat |
asctimeFormat |
static TimeZone |
GMT_ZONE
GMT timezone - all HTTP dates are on GMT
|
static String |
HTTP_RESPONSE_DATE_HEADER
Format for http response header date field
|
static Locale |
LOCALE_US
US locale - all HTTP dates are in english
|
static String |
OLD_COOKIE_PATTERN
Pattern used for old cookies
|
static DateFormat |
oldCookieFormat
DateFormat to be used to format old netscape cookies
|
static DateFormat |
rfc1036Format |
static String |
RFC1123_PATTERN
format for RFC 1123 date string -- "Sun, 06 Nov 1994 08:49:37 GMT"
|
static DateFormat |
rfc1123Format
DateFormat to be used to format dates
|
Constructor and Description |
---|
DateTool() |
public static final Locale LOCALE_US
public static final TimeZone GMT_ZONE
public static final String RFC1123_PATTERN
public static final String HTTP_RESPONSE_DATE_HEADER
public static final String OLD_COOKIE_PATTERN
public static final DateFormat rfc1123Format
public static final DateFormat oldCookieFormat
public static final DateFormat rfc1036Format
public static final DateFormat asctimeFormat
Copyright © 2013 JBoss by Red Hat. All rights reserved.