Enum Class CalendarSourceEnum
- All Implemented Interfaces:
Serializable
,Comparable<CalendarSourceEnum>
,Constable
Java class for CalendarSourceEnum.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="CalendarSourceEnum"> <restriction base="{http://www.w3.org/2001/XMLSchema}token"> <enumeration value="ListedOption"/> <enumeration value="Future"/> </restriction> </simpleType>
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionPricing Dates (based off of futures dates) in respect of each Calculation Period, the last Commodity Business Day on which the relevant Futures Contract is scheduled to trade on the Exchange.Pricing Dates (based off of listed options dates) in respect of each Calculation Period, the last Commodity Business Day on which the relevant Options Contract is scheduled to trade on the Exchange. -
Method Summary
Modifier and TypeMethodDescriptionstatic CalendarSourceEnum
value()
static CalendarSourceEnum
Returns the enum constant of this class with the specified name.static CalendarSourceEnum[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
LISTED_OPTION
Pricing Dates (based off of listed options dates) in respect of each Calculation Period, the last Commodity Business Day on which the relevant Options Contract is scheduled to trade on the Exchange. -
FUTURE
Pricing Dates (based off of futures dates) in respect of each Calculation Period, the last Commodity Business Day on which the relevant Futures Contract is scheduled to trade on the Exchange.
-
-
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
-
value
-
fromValue
-