public interface YieldEstimator
| Modifier and Type | Method and Description |
|---|---|
double |
yield(int iDate)
Calculate the Yield to the given Date
|
double |
yield(JulianDate dt)
Calculate the Yield to the given Date
|
double |
yield(java.lang.String strTenor)
Calculate the Yield to the Tenor implied by the given Date
|
double |
yieldDF(int iDate,
double dblDCF)
Calculate the Discount Factor to the given Date Using the specified DCF
|
double yield(int iDate)
throws java.lang.Exception
iDate - Datejava.lang.Exception - Thrown if the Yield cannot be calculateddouble yield(JulianDate dt) throws java.lang.Exception
dt - Datejava.lang.Exception - Thrown if the Yield cannot be calculateddouble yield(java.lang.String strTenor)
throws java.lang.Exception
strTenor - The Tenorjava.lang.Exception - Thrown if the Yield cannot be calculateddouble yieldDF(int iDate,
double dblDCF)
throws java.lang.Exception
iDate - DatedblDCF - The Day Count Fractionjava.lang.Exception - Thrown if the Discount Factor cannot be calculated