|
Apache Tomcat 6.0.53 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.tomcat.util.buf.DateTool
public class DateTool
Common place for date utils.
Field Summary | |
---|---|
static java.lang.String |
asctimePattern
Deprecated. |
static java.util.TimeZone |
GMT_ZONE
Deprecated. GMT timezone - all HTTP dates are on GMT |
static java.lang.String |
rfc1036Pattern
Deprecated. |
static java.lang.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 java.lang.String |
format1123(java.util.Date d)
Deprecated. |
static java.lang.String |
format1123(java.util.Date d,
java.text.DateFormat df)
Deprecated. |
static java.lang.String |
formatOldCookie(java.util.Date d)
Deprecated. |
static void |
formatOldCookie(java.util.Date d,
java.lang.StringBuffer sb,
java.text.FieldPosition fp)
Deprecated. |
static long |
parseDate(java.lang.String dateString)
Deprecated. Called from HttpServletRequest.getDateHeader(). |
static long |
parseDate(java.lang.String dateString,
java.text.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 java.util.TimeZone GMT_ZONE
public static final java.lang.String RFC1123_PATTERN
public static final java.lang.String rfc1036Pattern
public static final java.lang.String asctimePattern
Constructor Detail |
---|
public DateTool()
Method Detail |
---|
public static java.lang.String format1123(java.util.Date d)
public static java.lang.String format1123(java.util.Date d, java.text.DateFormat df)
public static void formatOldCookie(java.util.Date d, java.lang.StringBuffer sb, java.text.FieldPosition fp)
public static java.lang.String formatOldCookie(java.util.Date d)
public static long parseDate(java.lang.String dateString)
public static long parseDate(java.lang.String dateString, java.text.DateFormat[] format)
|
Apache Tomcat 6.0.53 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |