public abstract class ComposableUnitPeriod
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static int |
NODE_INSIDE_SEGMENT
Node is Inside the Period
|
static int |
NODE_LEFT_OF_SEGMENT
Node is to the Left of the Period
|
static int |
NODE_RIGHT_OF_SEGMENT
Node is to the Right of the Period
|
Modifier and Type | Method and Description |
---|---|
int |
accrualCompoundingRule()
Retrieve the Accrual Compounding Rule
|
java.lang.String |
accrualDC()
Retrieve the Accrual Day Count
|
double |
accrualDCF(int iAccrualEnd)
Get the Period Accrual Day Count Fraction to an Accrual End Date
|
boolean |
accrualEOMAdjustment()
Retrieve the Accrual EOM Adjustment Flag
|
abstract double |
baseRate(CurveSurfaceQuoteContainer csqs)
Get the Period Base Coupon Rate
|
abstract double |
basis()
Get the Period Coupon Basis
|
java.lang.String |
calendar()
Retrieve the Calendar
|
abstract java.lang.String |
couponCurrency()
Get the Period Coupon Currency
|
java.lang.String |
couponDC()
Retrieve the Coupon Day Count
|
boolean |
couponDCFOffOfFreq()
Retrieve the Flag indicating whether Coupon DCF is computed off of the DCF Flag
|
boolean |
couponEOMAdjustment()
Retrieve the Coupon EOM Adjustment Flag
|
int |
dateLocation(int iDateNode)
Place the Date Node Location in relation to the segment Location
|
int |
endDate()
Retrieve the Accrual End Date
|
int |
freq()
Retrieve the Coupon Frequency
|
double |
fullCouponDCF()
Retrieve the Period Full Coupon DCF
|
double |
fullCouponRate(CurveSurfaceQuoteContainer csqs)
Get the Period Full Coupon Rate
|
int |
startDate()
Retrieve the Accrual Start Date
|
java.lang.String |
tenor()
Convert the Coupon Frequency into a Tenor
|
public static final int NODE_LEFT_OF_SEGMENT
public static final int NODE_INSIDE_SEGMENT
public static final int NODE_RIGHT_OF_SEGMENT
public int startDate()
public int endDate()
public int freq()
public java.lang.String couponDC()
public boolean couponEOMAdjustment()
public java.lang.String accrualDC()
public boolean accrualEOMAdjustment()
public boolean couponDCFOffOfFreq()
public java.lang.String calendar()
public int accrualCompoundingRule()
public double fullCouponDCF()
public java.lang.String tenor()
public int dateLocation(int iDateNode)
iDateNode
- The Node Ordinatepublic double accrualDCF(int iAccrualEnd) throws java.lang.Exception
iAccrualEnd
- Accrual End Datejava.lang.Exception
- Thrown if inputs are invalid, or if the date does not lie within the
periodpublic double fullCouponRate(CurveSurfaceQuoteContainer csqs) throws java.lang.Exception
csqs
- The Market Curve and Surfacejava.lang.Exception
- Thrown if the full Coupon Rate cannot be calculatedpublic abstract double baseRate(CurveSurfaceQuoteContainer csqs) throws java.lang.Exception
csqs
- The Market Curve and Surfacejava.lang.Exception
- Thrown if the base Coupon Rate cannot be calculatedpublic abstract double basis()
public abstract java.lang.String couponCurrency()