Enum Class FormatNames

java.lang.Object
java.lang.Enum<FormatNames>
org.elasticsearch.common.time.FormatNames
All Implemented Interfaces:
Serializable, Comparable<FormatNames>, Constable

public enum FormatNames extends Enum<FormatNames>
  • Enum Constant Details

    • ISO8601

      public static final FormatNames ISO8601
    • BASIC_DATE

      public static final FormatNames BASIC_DATE
    • BASIC_DATE_TIME

      public static final FormatNames BASIC_DATE_TIME
    • BASIC_DATE_TIME_NO_MILLIS

      public static final FormatNames BASIC_DATE_TIME_NO_MILLIS
    • BASIC_ORDINAL_DATE

      public static final FormatNames BASIC_ORDINAL_DATE
    • BASIC_ORDINAL_DATE_TIME

      public static final FormatNames BASIC_ORDINAL_DATE_TIME
    • BASIC_ORDINAL_DATE_TIME_NO_MILLIS

      public static final FormatNames BASIC_ORDINAL_DATE_TIME_NO_MILLIS
    • BASIC_TIME

      public static final FormatNames BASIC_TIME
    • BASIC_TIME_NO_MILLIS

      public static final FormatNames BASIC_TIME_NO_MILLIS
    • BASIC_T_TIME

      public static final FormatNames BASIC_T_TIME
    • BASIC_T_TIME_NO_MILLIS

      public static final FormatNames BASIC_T_TIME_NO_MILLIS
    • BASIC_WEEK_DATE

      public static final FormatNames BASIC_WEEK_DATE
    • BASIC_WEEK_DATE_TIME

      public static final FormatNames BASIC_WEEK_DATE_TIME
    • BASIC_WEEK_DATE_TIME_NO_MILLIS

      public static final FormatNames BASIC_WEEK_DATE_TIME_NO_MILLIS
    • DATE

      public static final FormatNames DATE
    • DATE_HOUR

      public static final FormatNames DATE_HOUR
    • DATE_HOUR_MINUTE

      public static final FormatNames DATE_HOUR_MINUTE
    • DATE_HOUR_MINUTE_SECOND

      public static final FormatNames DATE_HOUR_MINUTE_SECOND
    • DATE_HOUR_MINUTE_SECOND_FRACTION

      public static final FormatNames DATE_HOUR_MINUTE_SECOND_FRACTION
    • DATE_HOUR_MINUTE_SECOND_MILLIS

      public static final FormatNames DATE_HOUR_MINUTE_SECOND_MILLIS
    • DATE_OPTIONAL_TIME

      public static final FormatNames DATE_OPTIONAL_TIME
    • DATE_TIME

      public static final FormatNames DATE_TIME
    • DATE_TIME_NO_MILLIS

      public static final FormatNames DATE_TIME_NO_MILLIS
    • HOUR

      public static final FormatNames HOUR
    • HOUR_MINUTE

      public static final FormatNames HOUR_MINUTE
    • HOUR_MINUTE_SECOND

      public static final FormatNames HOUR_MINUTE_SECOND
    • HOUR_MINUTE_SECOND_FRACTION

      public static final FormatNames HOUR_MINUTE_SECOND_FRACTION
    • HOUR_MINUTE_SECOND_MILLIS

      public static final FormatNames HOUR_MINUTE_SECOND_MILLIS
    • ORDINAL_DATE

      public static final FormatNames ORDINAL_DATE
    • ORDINAL_DATE_TIME

      public static final FormatNames ORDINAL_DATE_TIME
    • ORDINAL_DATE_TIME_NO_MILLIS

      public static final FormatNames ORDINAL_DATE_TIME_NO_MILLIS
    • TIME

      public static final FormatNames TIME
    • TIME_NO_MILLIS

      public static final FormatNames TIME_NO_MILLIS
    • T_TIME

      public static final FormatNames T_TIME
    • T_TIME_NO_MILLIS

      public static final FormatNames T_TIME_NO_MILLIS
    • WEEK_DATE

      public static final FormatNames WEEK_DATE
    • WEEK_DATE_TIME

      public static final FormatNames WEEK_DATE_TIME
    • WEEK_DATE_TIME_NO_MILLIS

      public static final FormatNames WEEK_DATE_TIME_NO_MILLIS
    • WEEK_YEAR

      public static final FormatNames WEEK_YEAR
    • WEEKYEAR

      public static final FormatNames WEEKYEAR
    • WEEK_YEAR_WEEK

      public static final FormatNames WEEK_YEAR_WEEK
    • WEEKYEAR_WEEK_DAY

      public static final FormatNames WEEKYEAR_WEEK_DAY
    • YEAR

      public static final FormatNames YEAR
    • YEAR_MONTH

      public static final FormatNames YEAR_MONTH
    • YEAR_MONTH_DAY

      public static final FormatNames YEAR_MONTH_DAY
    • EPOCH_SECOND

      public static final FormatNames EPOCH_SECOND
    • EPOCH_MILLIS

      public static final FormatNames EPOCH_MILLIS
    • STRICT_BASIC_WEEK_DATE

      public static final FormatNames STRICT_BASIC_WEEK_DATE
    • STRICT_BASIC_WEEK_DATE_TIME

      public static final FormatNames STRICT_BASIC_WEEK_DATE_TIME
    • STRICT_BASIC_WEEK_DATE_TIME_NO_MILLIS

      public static final FormatNames STRICT_BASIC_WEEK_DATE_TIME_NO_MILLIS
    • STRICT_DATE

      public static final FormatNames STRICT_DATE
    • STRICT_DATE_HOUR

      public static final FormatNames STRICT_DATE_HOUR
    • STRICT_DATE_HOUR_MINUTE

      public static final FormatNames STRICT_DATE_HOUR_MINUTE
    • STRICT_DATE_HOUR_MINUTE_SECOND

      public static final FormatNames STRICT_DATE_HOUR_MINUTE_SECOND
    • STRICT_DATE_HOUR_MINUTE_SECOND_FRACTION

      public static final FormatNames STRICT_DATE_HOUR_MINUTE_SECOND_FRACTION
    • STRICT_DATE_HOUR_MINUTE_SECOND_MILLIS

      public static final FormatNames STRICT_DATE_HOUR_MINUTE_SECOND_MILLIS
    • STRICT_DATE_OPTIONAL_TIME

      public static final FormatNames STRICT_DATE_OPTIONAL_TIME
    • STRICT_DATE_OPTIONAL_TIME_NANOS

      public static final FormatNames STRICT_DATE_OPTIONAL_TIME_NANOS
    • STRICT_DATE_TIME

      public static final FormatNames STRICT_DATE_TIME
    • STRICT_DATE_TIME_NO_MILLIS

      public static final FormatNames STRICT_DATE_TIME_NO_MILLIS
    • STRICT_HOUR

      public static final FormatNames STRICT_HOUR
    • STRICT_HOUR_MINUTE

      public static final FormatNames STRICT_HOUR_MINUTE
    • STRICT_HOUR_MINUTE_SECOND

      public static final FormatNames STRICT_HOUR_MINUTE_SECOND
    • STRICT_HOUR_MINUTE_SECOND_FRACTION

      public static final FormatNames STRICT_HOUR_MINUTE_SECOND_FRACTION
    • STRICT_HOUR_MINUTE_SECOND_MILLIS

      public static final FormatNames STRICT_HOUR_MINUTE_SECOND_MILLIS
    • STRICT_ORDINAL_DATE

      public static final FormatNames STRICT_ORDINAL_DATE
    • STRICT_ORDINAL_DATE_TIME

      public static final FormatNames STRICT_ORDINAL_DATE_TIME
    • STRICT_ORDINAL_DATE_TIME_NO_MILLIS

      public static final FormatNames STRICT_ORDINAL_DATE_TIME_NO_MILLIS
    • STRICT_TIME

      public static final FormatNames STRICT_TIME
    • STRICT_TIME_NO_MILLIS

      public static final FormatNames STRICT_TIME_NO_MILLIS
    • STRICT_T_TIME

      public static final FormatNames STRICT_T_TIME
    • STRICT_T_TIME_NO_MILLIS

      public static final FormatNames STRICT_T_TIME_NO_MILLIS
    • STRICT_WEEK_DATE

      public static final FormatNames STRICT_WEEK_DATE
    • STRICT_WEEK_DATE_TIME

      public static final FormatNames STRICT_WEEK_DATE_TIME
    • STRICT_WEEK_DATE_TIME_NO_MILLIS

      public static final FormatNames STRICT_WEEK_DATE_TIME_NO_MILLIS
    • STRICT_WEEKYEAR

      public static final FormatNames STRICT_WEEKYEAR
    • STRICT_WEEKYEAR_WEEK

      public static final FormatNames STRICT_WEEKYEAR_WEEK
    • STRICT_WEEKYEAR_WEEK_DAY

      public static final FormatNames STRICT_WEEKYEAR_WEEK_DAY
    • STRICT_YEAR

      public static final FormatNames STRICT_YEAR
    • STRICT_YEAR_MONTH

      public static final FormatNames STRICT_YEAR_MONTH
    • STRICT_YEAR_MONTH_DAY

      public static final FormatNames STRICT_YEAR_MONTH_DAY
  • Field Details

    • WEEK_BASED_FORMATS

      public static final Set<FormatNames> WEEK_BASED_FORMATS
  • Method Details

    • values

      public static FormatNames[] 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 FormatNames 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
    • exist

      public static boolean exist(String format)
    • forName

      public static FormatNames forName(String format)
    • matches

      public boolean matches(String format)
    • isCamelCase

      public boolean isCamelCase(String format)
    • getSnakeCaseName

      public String getSnakeCaseName()
    • getCamelCaseName

      public String getCamelCaseName()