Enum Class BusinessDayConventionEnum
java.lang.Object
java.lang.Enum<BusinessDayConventionEnum>
net.finmath.smartcontract.product.xml.BusinessDayConventionEnum
- All Implemented Interfaces:
Serializable
,Comparable<BusinessDayConventionEnum>
,Constable
Java class for BusinessDayConventionEnum.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="BusinessDayConventionEnum"> <restriction base="{http://www.w3.org/2001/XMLSchema}token"> <enumeration value="FOLLOWING"/> <enumeration value="FRN"/> <enumeration value="MODFOLLOWING"/> <enumeration value="PRECEDING"/> <enumeration value="MODPRECEDING"/> <enumeration value="NEAREST"/> <enumeration value="NONE"/> <enumeration value="NotApplicable"/> </restriction> </simpleType>
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum 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.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 BusinessDayConventionEnum
value()
static BusinessDayConventionEnum
Returns the enum constant of this class with the specified name.static BusinessDayConventionEnum[]
values()
Returns an array containing the constants of this enum class, 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. -
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 class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException
- if the argument is null
-
value
-
fromValue
-