Enum DeliveryNearbyTypeEnum

java.lang.Object
java.lang.Enum<DeliveryNearbyTypeEnum>
cdm.base.staticdata.asset.common.DeliveryNearbyTypeEnum
All Implemented Interfaces:
Serializable, Comparable<DeliveryNearbyTypeEnum>

@RosettaEnum("DeliveryNearbyTypeEnum") public enum DeliveryNearbyTypeEnum extends Enum<DeliveryNearbyTypeEnum>
Version:
5.30.0
  • Enum Constant Details

    • CALCULATION_PERIOD

      @RosettaEnumValue("CalculationPeriod") public static final DeliveryNearbyTypeEnum CALCULATION_PERIOD
      Describes the reference contract as the one that pertains to the month-year of the calculation period. If used, the nearby count is expected to be 0.
    • NEARBY_MONTH

      @RosettaEnumValue("NearbyMonth") public static final DeliveryNearbyTypeEnum NEARBY_MONTH
      Specifies that the reference delivery date of the underlying Commodity shall be the expiration date of the futures contract in the nth nearby month.
    • NEARBY_WEEK

      @RosettaEnumValue("NearbyWeek") public static final DeliveryNearbyTypeEnum NEARBY_WEEK
      Specifies that the reference delivery date of the underlying Commodity shall be the expiration date of the futures contract in the nth nearby week.
  • Method Details

    • values

      public static DeliveryNearbyTypeEnum[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      Returns:
      an array containing the constants of this enum type, in the order they are declared
    • valueOf

      public static DeliveryNearbyTypeEnum valueOf(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:
      IllegalArgumentException - if this enum type has no constant with the specified name
      NullPointerException - if the argument is null
    • fromDisplayName

      public static DeliveryNearbyTypeEnum fromDisplayName(String name)
    • toString

      public String toString()
      Overrides:
      toString in class Enum<DeliveryNearbyTypeEnum>
    • toDisplayString

      public String toDisplayString()