Class DateTimeFormat

java.lang.Object
com.github.toolarium.common.datetime.DateTimeFormat

public final class DateTimeFormat extends Object
Collection of a date time format
  • Field Details

    • LOCALE_US

      public static final Locale LOCALE_US
      US locale - all HTTP dates are in English
    • GMT_ZONE

      public static final TimeZone GMT_ZONE
      GMT time zone - all HTTP dates are on GMT
    • RFC1123_PATTERN

      public static final String RFC1123_PATTERN
      format for RFC 1123 date string -- "Sun, 06 Nov 1994 08:49:37 GMT"
      See Also:
    • HTTP_RESPONSE_DATE_HEADER

      public static final String HTTP_RESPONSE_DATE_HEADER
      Format for http response header date field
      See Also:
    • RFC_1123_FORMAT

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

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

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

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