public class UnitPeriodMetrics extends UnitPeriodConvexityMetrics
Constructor and Description |
---|
UnitPeriodMetrics(int iStartDate,
int iEndDate,
double dblDCF,
double dblRate,
ConvexityAdjustment convAdj)
UnitPeriodMetrics constructor
|
Modifier and Type | Method and Description |
---|---|
double |
dcf()
Retrieve the Day Count Fraction
|
double |
rate()
Retrieve the Coupon Rate
|
convAdj, endDate, startDate
public UnitPeriodMetrics(int iStartDate, int iEndDate, double dblDCF, double dblRate, ConvexityAdjustment convAdj) throws java.lang.Exception
iStartDate
- Metric Period Start DateiEndDate
- Metric Period End DatedblDCF
- Coupon Period Coupon DCFdblRate
- Coupon Period Coupon RateconvAdj
- Coupon Period Convexity Adjustmentjava.lang.Exception
- Thrown if the inputs are invalid