Class DateTimeFormat


  • public final class DateTimeFormat
    extends java.lang.Object
    Collection of a date time format
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.text.DateFormat ASCTIME_FORMAT
      Format for C asctime() date string -- "Sun Nov 6 08:49:37 1994"
      static java.util.TimeZone GMT_ZONE
      GMT time zone - 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 RFC_1036_FORMAT
      Format for RFC 1036 date string -- "Sunday, 06-Nov-94 08:49:37 GMT"
      static java.text.DateFormat RFC_1123_FORMAT
      DateFormat to be used to format dates
      static java.lang.String RFC1123_PATTERN
      format for RFC 1123 date string -- "Sun, 06 Nov 1994 08:49:37 GMT"
    • 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 time zone - 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
      • RFC_1123_FORMAT

        public static final java.text.DateFormat RFC_1123_FORMAT
        DateFormat to be used to format dates
      • oldCookieFormat

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

        public static final java.text.DateFormat RFC_1036_FORMAT
        Format for RFC 1036 date string -- "Sunday, 06-Nov-94 08:49:37 GMT"
      • ASCTIME_FORMAT

        public static final java.text.DateFormat ASCTIME_FORMAT
        Format for C asctime() date string -- "Sun Nov 6 08:49:37 1994"