Apache Tomcat 6.0.53

org.apache.catalina.util
Class DateTool

java.lang.Object
  extended by org.apache.catalina.util.DateTool

public class DateTool
extends java.lang.Object

Common place for date utils.

Author:
dac@eng.sun.com, Jason Hunter [jch@eng.sun.com], James Todd [gonzo@eng.sun.com], Costin Manolache

Field Summary
static java.text.DateFormat asctimeFormat
           
static java.util.TimeZone GMT_ZONE
          GMT timezone - all HTTP dates are on GMT
static java.lang.String HTTP_RESPONSE_DATE_HEADER
          Format for http response header date field
static java.util.Locale LOCALE_US
          US locale - all HTTP dates are in english
static java.lang.String OLD_COOKIE_PATTERN
          Pattern used for old cookies
static java.text.DateFormat oldCookieFormat
          DateFormat to be used to format old netscape cookies
static java.text.DateFormat rfc1036Format
           
static java.lang.String RFC1123_PATTERN
          format for RFC 1123 date string -- "Sun, 06 Nov 1994 08:49:37 GMT"
static java.text.DateFormat rfc1123Format
          DateFormat to be used to format dates
 
Constructor Summary
DateTool()
           
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

LOCALE_US

public static final java.util.Locale LOCALE_US
US locale - all HTTP dates are in english


GMT_ZONE

public static final java.util.TimeZone GMT_ZONE
GMT timezone - all HTTP dates are on GMT


RFC1123_PATTERN

public static final java.lang.String RFC1123_PATTERN
format for RFC 1123 date string -- "Sun, 06 Nov 1994 08:49:37 GMT"

See Also:
Constant Field Values

HTTP_RESPONSE_DATE_HEADER

public static final java.lang.String HTTP_RESPONSE_DATE_HEADER
Format for http response header date field

See Also:
Constant Field Values

OLD_COOKIE_PATTERN

public static final java.lang.String OLD_COOKIE_PATTERN
Pattern used for old cookies

See Also:
Constant Field Values

rfc1123Format

public static final java.text.DateFormat rfc1123Format
DateFormat to be used to format dates


oldCookieFormat

public static final java.text.DateFormat oldCookieFormat
DateFormat to be used to format old netscape cookies


rfc1036Format

public static final java.text.DateFormat rfc1036Format

asctimeFormat

public static final java.text.DateFormat asctimeFormat
Constructor Detail

DateTool

public DateTool()

Apache Tomcat 6.0.53

Copyright © 2000-2017 Apache Software Foundation. All Rights Reserved.