public enum DateEditingStyle extends java.lang.Enum<DateEditingStyle> implements ValueEnum
Enum Constant and Description |
---|
DATE
allows editing of the logical start and end dates of the event
|
DATETIME
allows editing of both date and time
|
TIME
allows editing of the time portion of the event only
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getValue() |
static DateEditingStyle |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static DateEditingStyle[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DateEditingStyle DATE
If this enumerated value is used in a Component XML
file or server-side DataSource descriptor (.ds.xml file), use the value "date".
public static final DateEditingStyle DATETIME
If this enumerated value is used in a Component XML
file or server-side DataSource descriptor (.ds.xml file), use the value "datetime".
public static final DateEditingStyle TIME
If this enumerated value is used in a Component XML
file or server-side DataSource descriptor (.ds.xml file), use the value "time".
public static DateEditingStyle[] values()
for (DateEditingStyle c : DateEditingStyle.values()) System.out.println(c);
public static DateEditingStyle 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