Package com.oss.asn1

Enum Class CSVTool.DateFormat

java.lang.Object
java.lang.Enum<CSVTool.DateFormat>
com.oss.asn1.CSVTool.DateFormat
All Implemented Interfaces:
Serializable, Comparable<CSVTool.DateFormat>, Constable
Enclosing class:
CSVTool

public static enum CSVTool.DateFormat extends Enum<CSVTool.DateFormat>
Defines supported formats for displaying GeneralizedTime type values in the CSV output.
  • Enum Constant Details

    • ASN1

      public static final CSVTool.DateFormat ASN1
      The value is printed in the YYYYMMDDhhmmss+hhmm format.
    • DASHES

      public static final CSVTool.DateFormat DASHES
      The value is printed in the YYYY-MM-DD hh:mm:ss format.
    • SLASHES

      public static final CSVTool.DateFormat SLASHES
      The value is printed in the MM/DD/YY hh:mm:ss format.
  • Method Details

    • values

      public static CSVTool.DateFormat[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static CSVTool.DateFormat valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null