public enum DateItemSelectorFormat extends java.lang.Enum<DateItemSelectorFormat> implements ValueEnum
DateItem.useTextField
false.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.
|
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.
|
public static final DateItemSelectorFormat DAY_MONTH_YEAR
If this enumerated value is used in a Component XML
file or server-side DataSource descriptor (.ds.xml file), use the value "DMY".
public static final DateItemSelectorFormat MONTH_DAY_YEAR
If this enumerated value is used in a Component XML
file or server-side DataSource descriptor (.ds.xml file), use the value "MDY".
public static final DateItemSelectorFormat YEAR_MONTH_DAY
If this enumerated value is used in a Component XML
file or server-side DataSource descriptor (.ds.xml file), use the value "YMD".
public static final DateItemSelectorFormat DAY_MONTH
If this enumerated value is used in a Component XML
file or server-side DataSource descriptor (.ds.xml file), use the value "DM".
public static final DateItemSelectorFormat MONTH_DAY
If this enumerated value is used in a Component XML
file or server-side DataSource descriptor (.ds.xml file), use the value "MD".
public static final DateItemSelectorFormat YEAR_MONTH
If this enumerated value is used in a Component XML
file or server-side DataSource descriptor (.ds.xml file), use the value "YM".
public static final DateItemSelectorFormat MONTH_YEAR
If this enumerated value is used in a Component XML
file or server-side DataSource descriptor (.ds.xml file), use the value "MY".
public static DateItemSelectorFormat[] values()
for (DateItemSelectorFormat c : DateItemSelectorFormat.values()) System.out.println(c);
public static DateItemSelectorFormat valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null