Enum DateFormats

java.lang.Object
java.lang.Enum<DateFormats>
org.refcodes.time.DateFormats
All Implemented Interfaces:
Serializable, Comparable<DateFormats>, java.lang.constant.Constable

public enum DateFormats extends Enum<DateFormats>
The DateFormats represent sets of DateFormat definitions. Such a set is most useful to parse back a String into a Date when there are multiple possible String representations. E.g. a cookie's date representation might be either as defined by the DateFormat.NETSCAPE_COOKIE_DATE_FORMAT or by the DateFormat.ALTERNATE_COOKIE_DATE_FORMAT.
  • Enum Constant Details

    • DEFAULT_DATE_FORMATS

      public static final DateFormats DEFAULT_DATE_FORMATS
      Sound set of common DateFormat definitions with no special addressee.
    • DEFAULT_DATE_FORMATS_SHORT

      public static final DateFormats DEFAULT_DATE_FORMATS_SHORT
      Sound set of common short DateFormat definitions with no special addressee.
    • INTERNET_DATE_FORMATS

      public static final DateFormats INTERNET_DATE_FORMATS
      Set of DateFormat definitions found in heterogeneous internet related services.
    • ISO_DATE_FORMATS

      public static final DateFormats ISO_DATE_FORMATS
      Set of common DateFormat ISO definitions.
  • Method Details