Enum CalculationShiftMethodEnum
java.lang.Object
java.lang.Enum<CalculationShiftMethodEnum>
cdm.observable.asset.calculatedrate.CalculationShiftMethodEnum
- All Implemented Interfaces:
Serializable,Comparable<CalculationShiftMethodEnum>
@RosettaEnum("CalculationShiftMethodEnum")
public enum CalculationShiftMethodEnum
extends Enum<CalculationShiftMethodEnum>
the specific calculation method, e.g. lookback. 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 and weighting are done with respect to the calculation period, but observations are shifted back by several days.calculations occur without any shifting, e.g.the observation period is shifted by several days prior to rate setting, and weightings are done with respect to the obseration period.Calculations cut the rate off several business days prior to rate setting (Lockout). -
Method Summary
Modifier and TypeMethodDescriptionstatic CalculationShiftMethodEnumfromDisplayName(String name) toString()static CalculationShiftMethodEnumReturns the enum constant of this type with the specified name.static CalculationShiftMethodEnum[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
LOOKBACK
Calculations and weighting are done with respect to the calculation period, but observations are shifted back by several days. -
OBSERVATION_PERIOD_SHIFT
@RosettaEnumValue("ObservationPeriodShift") public static final CalculationShiftMethodEnum OBSERVATION_PERIOD_SHIFTthe observation period is shifted by several days prior to rate setting, and weightings are done with respect to the obseration period. -
RATE_CUT_OFF
Calculations cut the rate off several business days prior to rate setting (Lockout). -
NO_SHIFT
calculations occur without any shifting, e.g. OIS Compounding/Basic Averaging style.
-
-
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<CalculationShiftMethodEnum>
-
toDisplayString
-