Package com.hp.lft.sdk.wpf
Enum Class DateFormatType
- All Implemented Interfaces:
Serializable
,Comparable<DateFormatType>
,java.lang.constant.Constable
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe date string represents multiple date ranges For example: "20-Mar-2015 - 22-Mar-2015; 25-Mar-2015; 28-Mar-2015 - 29-Mar-2015"The date is an empty stringThe date string represents a single date string For example: "20-Mar-2015"The date string represents a single range of dates For example: "20-Mar-2015 - 22-Mar-2015" -
Method Summary
Modifier and TypeMethodDescriptionstatic DateFormatType
Returns the enum constant of this class with the specified name.static DateFormatType[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
NONE
The date is an empty string -
SINGLE_DATE
The date string represents a single date string For example: "20-Mar-2015" -
SINGLE_DATE_RANGE
The date string represents a single range of dates For example: "20-Mar-2015 - 22-Mar-2015" -
MULTIPLE_DATE_RANGES
The date string represents multiple date ranges For example: "20-Mar-2015 - 22-Mar-2015; 25-Mar-2015; 28-Mar-2015 - 29-Mar-2015"
-
-
Method Details
-
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
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 nameNullPointerException
- if the argument is null
-