Class BusinessDateRange
java.lang.Object
net.finmath.smartcontract.product.xml.DateRange
net.finmath.smartcontract.product.xml.BusinessDateRange
A type defining a range of contiguous business days by defining an
unadjusted first date, an unadjusted last date and a business day convention and business centers for
adjusting the first and last dates if they would otherwise fall on a non business day in the specified
business centers. The days between the first and last date must also be good business days in the
specified centers to be counted in the range.
Java class for BusinessDateRange complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="BusinessDateRange"> <complexContent> <extension base="{http://www.fpml.org/FpML-5/confirmation}DateRange"> <sequence> <element name="businessDayConvention" type="{http://www.fpml.org/FpML-5/confirmation}BusinessDayConventionEnum"/> <group ref="{http://www.fpml.org/FpML-5/confirmation}BusinessCentersOrReference.model" minOccurs="0"/> </sequence> </extension> </complexContent> </complexType>
-
Field Summary
Modifier and TypeFieldDescriptionprotected BusinessCenters
protected BusinessCentersReference
protected BusinessDayConventionEnum
Fields inherited from class net.finmath.smartcontract.product.xml.DateRange
unadjustedFirstDate, unadjustedLastDate
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGets the value of the businessCenters property.Gets the value of the businessCentersReference property.Gets the value of the businessDayConvention property.void
Sets the value of the businessCenters property.void
Sets the value of the businessCentersReference property.void
Sets the value of the businessDayConvention property.Methods inherited from class net.finmath.smartcontract.product.xml.DateRange
getUnadjustedFirstDate, getUnadjustedLastDate, setUnadjustedFirstDate, setUnadjustedLastDate
-
Field Details
-
businessDayConvention
-
businessCentersReference
-
businessCenters
-
-
Constructor Details
-
BusinessDateRange
public BusinessDateRange()
-
-
Method Details
-
getBusinessDayConvention
Gets the value of the businessDayConvention property.- Returns:
- possible object is
BusinessDayConventionEnum
-
setBusinessDayConvention
Sets the value of the businessDayConvention property.- Parameters:
value
- allowed object isBusinessDayConventionEnum
-
getBusinessCentersReference
Gets the value of the businessCentersReference property.- Returns:
- possible object is
BusinessCentersReference
-
setBusinessCentersReference
Sets the value of the businessCentersReference property.- Parameters:
value
- allowed object isBusinessCentersReference
-
getBusinessCenters
Gets the value of the businessCenters property.- Returns:
- possible object is
BusinessCenters
-
setBusinessCenters
Sets the value of the businessCenters property.- Parameters:
value
- allowed object isBusinessCenters
-