Package cdm.base.datetime
Enum BusinessDayConventionEnum
- All Implemented Interfaces:
Serializable,Comparable<BusinessDayConventionEnum>
@RosettaEnum("BusinessDayConventionEnum")
public enum BusinessDayConventionEnum
extends Enum<BusinessDayConventionEnum>
The enumerated values to specify the convention for adjusting any relevant date if it would otherwise fall on a day that is not a valid business day.
- Version:
- 5.30.0
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe non-business date will be adjusted to the first following day that is a business dayPer 2000 ISDA Definitions, Section 4.11.The non-business date will be adjusted to the first following day that is a business day unless that day falls in the next calendar month, in which case that date will be the first preceding day that is a business day.The non-business date will be adjusted to the first preceding day that is a business day unless that day falls in the previous calendar month, in which case that date will be the first following day that us a business day.The non-business date will be adjusted to the nearest day that is a business day - i.e. if the non-business day falls on any day other than a Sunday or a Monday, it will be the first preceding day that is a business day, and will be the first following business day if it falls on a Sunday or a Monday.The date will not be adjusted if it falls on a day that is not a business day.The date adjustments conventions are defined elsewhere, so it is not required to specify them here.The non-business day will be adjusted to the first preceding day that is a business day. -
Method Summary
Modifier and TypeMethodDescriptionstatic BusinessDayConventionEnumfromDisplayName(String name) toString()static BusinessDayConventionEnumReturns the enum constant of this type with the specified name.static BusinessDayConventionEnum[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
FOLLOWING
The non-business date will be adjusted to the first following day that is a business day -
FRN
Per 2000 ISDA Definitions, Section 4.11. FRN Convention; Eurodollar Convention. FRN is included here as a type of business day convention although it does not strictly fall within ISDA's definition of a Business Day Convention and does not conform to the simple definition given above. -
MODFOLLOWING
The non-business date will be adjusted to the first following day that is a business day unless that day falls in the next calendar month, in which case that date will be the first preceding day that is a business day. -
PRECEDING
The non-business day will be adjusted to the first preceding day that is a business day. -
MODPRECEDING
The non-business date will be adjusted to the first preceding day that is a business day unless that day falls in the previous calendar month, in which case that date will be the first following day that us a business day. -
NEAREST
The non-business date will be adjusted to the nearest day that is a business day - i.e. if the non-business day falls on any day other than a Sunday or a Monday, it will be the first preceding day that is a business day, and will be the first following business day if it falls on a Sunday or a Monday. -
NONE
The date will not be adjusted if it falls on a day that is not a business day. -
NOT_APPLICABLE
The date adjustments conventions are defined elsewhere, so it is not required to specify them here.
-
-
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<BusinessDayConventionEnum>
-
toDisplayString
-