Package cdm.product.common.schedule
Enum StubPeriodTypeEnum
- All Implemented Interfaces:
Serializable,Comparable<StubPeriodTypeEnum>
The enumerated values to specify how to deal with a non standard calculation period within a swap stream.
- Version:
- 5.30.0
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionIf there is a non regular period remaining it is placed at the end of the stream and combined with the adjacent calculation period to give a long last calculation period.If there is a non regular period remaining it is placed at the start of the stream and combined with the adjacent calculation period to give a long first calculation period.If there is a non regular period remaining it is left shorter than the streams calculation period frequency and placed at the end of the stream.If there is a non regular period remaining it is left shorter than the streams calculation period frequency and placed at the start of the stream. -
Method Summary
Modifier and TypeMethodDescriptionstatic StubPeriodTypeEnumfromDisplayName(String name) toString()static StubPeriodTypeEnumReturns the enum constant of this type with the specified name.static StubPeriodTypeEnum[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
SHORT_INITIAL
If there is a non regular period remaining it is left shorter than the streams calculation period frequency and placed at the start of the stream. -
SHORT_FINAL
If there is a non regular period remaining it is left shorter than the streams calculation period frequency and placed at the end of the stream. -
LONG_INITIAL
If there is a non regular period remaining it is placed at the start of the stream and combined with the adjacent calculation period to give a long first calculation period. -
LONG_FINAL
If there is a non regular period remaining it is placed at the end of the stream and combined with the adjacent calculation period to give a long last calculation period.
-
-
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<StubPeriodTypeEnum>
-
toDisplayString
-