com.smartgwt.client.types

## Enum DateItemSelectorFormat

- java.lang.Object
- - java.lang.Enum<DateItemSelectorFormat>
  - - com.smartgwt.client.types.DateItemSelectorFormat

- All Implemented Interfaces:
    ValueEnum, java.io.Serializable, java.lang.Comparable<DateItemSelectorFormat>

      public enum DateItemSelectorFormat
      extends java.lang.Enum<DateItemSelectorFormat>
      implements ValueEnum

  Order of pickers and which pickers are present when using a DateItem with `useTextField` false.

- - ### Enum Constant Summary

    Enum Constants
    Enum Constant and Description
    `DAY_MONTH` Output only day, month fields.
    `DAY_MONTH_YEAR` Output fields in day, month, year order.
    `MONTH_DAY` Output only month, day fields.
    `MONTH_DAY_YEAR` Output fields in month, day, year order.
    `MONTH_YEAR` Output only month, year fields.
    `YEAR_MONTH` Output only year, month fields.
    `YEAR_MONTH_DAY` Output fields in year, month, day order.

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `java.lang.String` | `getValue()`
    `static DateItemSelectorFormat` | `valueOf(java.lang.String name)` Returns the enum constant of this type with the specified name.
    `static DateItemSelectorFormat[]` | `values()` Returns an array containing the constants of this enum type, in the order they are declared.

    - ### Methods inherited from class java.lang.Enum

      `clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf`

    - ### Methods inherited from class java.lang.Object

      `getClass, notify, notifyAll, wait, wait, wait`

- - ### Enum Constant Detail

    - #### DAY_MONTH_YEAR

          public static final DateItemSelectorFormat DAY_MONTH_YEAR

      Output fields in day, month, year order.

    - #### MONTH_DAY_YEAR

          public static final DateItemSelectorFormat MONTH_DAY_YEAR

      Output fields in month, day, year order.

    - #### YEAR_MONTH_DAY

          public static final DateItemSelectorFormat YEAR_MONTH_DAY

      Output fields in year, month, day order.

    - #### DAY_MONTH

          public static final DateItemSelectorFormat DAY_MONTH

      Output only day, month fields.

    - #### MONTH_DAY

          public static final DateItemSelectorFormat MONTH_DAY

      Output only month, day fields.

    - #### YEAR_MONTH

          public static final DateItemSelectorFormat YEAR_MONTH

      Output only year, month fields.

    - #### MONTH_YEAR

          public static final DateItemSelectorFormat MONTH_YEAR

      Output only month, year fields.

  - ### Method Detail

    - #### values

          public static DateItemSelectorFormat[] values()

      Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:

          for (DateItemSelectorFormat c : DateItemSelectorFormat.values())
              System.out.println(c);

      Returns:
        an array containing the constants of this enum type, in the order they are declared

    - #### valueOf

          public static DateItemSelectorFormat valueOf(java.lang.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:
        `java.lang.IllegalArgumentException` - if this enum type has no constant with the specified name
        `java.lang.NullPointerException` - if the argument is null

    - #### getValue

          public java.lang.String getValue()

      Specified by:
        `getValue` in interface `ValueEnum`