|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sun.grizzly.util.buf.DateTool
public class DateTool
Common place for date utils.
Field Summary | |
---|---|
static String |
asctimePattern
Deprecated. |
static TimeZone |
GMT_ZONE
Deprecated. GMT timezone - all HTTP dates are on GMT |
static String |
HTTP_RESPONSE_DATE_HEADER
Deprecated. Format for http response header date field |
static String |
rfc1036Pattern
Deprecated. |
static String |
RFC1123_PATTERN
Deprecated. format for RFC 1123 date string -- "Sun, 06 Nov 1994 08:49:37 GMT" |
Constructor Summary | |
---|---|
DateTool()
Deprecated. |
Method Summary | |
---|---|
static String |
format1123(Date d)
Deprecated. |
static String |
format1123(Date d,
DateFormat df)
Deprecated. |
static String |
formatOldCookie(Date d)
Deprecated. |
static void |
formatOldCookie(Date d,
StringBuffer sb,
FieldPosition fp)
Deprecated. |
static long |
parseDate(String dateString)
Deprecated. Called from HttpServletRequest.getDateHeader(). |
static long |
parseDate(String dateString,
DateFormat[] format)
Deprecated. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final TimeZone GMT_ZONE
public static final String RFC1123_PATTERN
public static final String rfc1036Pattern
public static final String asctimePattern
public static final String HTTP_RESPONSE_DATE_HEADER
Constructor Detail |
---|
public DateTool()
Method Detail |
---|
public static String format1123(Date d)
public static String format1123(Date d, DateFormat df)
public static void formatOldCookie(Date d, StringBuffer sb, FieldPosition fp)
public static String formatOldCookie(Date d)
public static long parseDate(String dateString)
public static long parseDate(String dateString, DateFormat[] format)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |