Enum ObservationPeriodDatesEnum
java.lang.Object
java.lang.Enum<ObservationPeriodDatesEnum>
cdm.observable.asset.calculatedrate.ObservationPeriodDatesEnum
- All Implemented Interfaces:
Serializable,Comparable<ObservationPeriodDatesEnum>
@RosettaEnum("ObservationPeriodDatesEnum")
public enum ObservationPeriodDatesEnum
extends Enum<ObservationPeriodDatesEnum>
The enumerated values to specify whether rate calculations occur relative to the first or last day of a calculation period. Done in uppercase due to a bug in code generation. This enumeration is used to represent the definitions of modular calculated rates as described in the 2021 ISDA Definitions, section 7.
- Version:
- 5.30.0
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionCalculations occur relative to a previously defined reset date, e.g. for a fallback rate.Calculations occur relative to the first day of a calculation period.Calculations occur relative to the last day of a calculation period (set in arrears). -
Method Summary
Modifier and TypeMethodDescriptionstatic ObservationPeriodDatesEnumfromDisplayName(String name) toString()static ObservationPeriodDatesEnumReturns the enum constant of this type with the specified name.static ObservationPeriodDatesEnum[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
SET_IN_ADVANCE
Calculations occur relative to the first day of a calculation period. -
STANDARD
Calculations occur relative to the last day of a calculation period (set in arrears). -
FIXING_DATE
Calculations occur relative to a previously defined reset date, e.g. for a fallback rate.
-
-
Method Details
-
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
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 nameNullPointerException- if the argument is null
-
fromDisplayName
-
toString
- Overrides:
toStringin classEnum<ObservationPeriodDatesEnum>
-
toDisplayString
-