Package org.h2.mode

Enum ToDateParser.ConfigParam

java.lang.Object
java.lang.Enum<ToDateParser.ConfigParam>
org.h2.mode.ToDateParser.ConfigParam
All Implemented Interfaces:
Serializable, Comparable<ToDateParser.ConfigParam>, java.lang.constant.Constable
Enclosing class:
ToDateParser

private static enum ToDateParser.ConfigParam extends Enum<ToDateParser.ConfigParam>
The configuration of the date parser.
  • Enum Constant Details

  • Field Details

    • defaultFormatStr

      private final String defaultFormatStr
  • Constructor Details

    • ConfigParam

      private ConfigParam(String defaultFormatStr)
  • Method Details

    • values

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

      public static ToDateParser.ConfigParam valueOf(String name)
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified name
      NullPointerException - if the argument is null
    • getDefaultFormatStr

      String getDefaultFormatStr()