public interface DiscountFactorEstimator
Modifier and Type | Method and Description |
---|---|
double |
df(int iDate)
Calculate the Discount Factor to the given Date
|
double |
df(JulianDate dt)
Calculate the discount factor to the given date
|
double |
df(java.lang.String strTenor)
Calculate the Discount Factor to the given Tenor
|
double |
effectiveDF(int iDate1,
int iDate2)
Compute the time-weighted discount factor between 2 dates
|
double |
effectiveDF(JulianDate dt1,
JulianDate dt2)
Compute the time-weighted discount factor between 2 dates
|
double |
effectiveDF(java.lang.String strTenor1,
java.lang.String strTenor2)
Compute the time-weighted discount factor between 2 tenors
|
JulianDate |
epoch()
Retrieve the Starting (Epoch) Date
|
JulianDate epoch()
double df(int iDate) throws java.lang.Exception
iDate
- Datejava.lang.Exception
- Thrown if the Discount Factor cannot be calculateddouble df(JulianDate dt) throws java.lang.Exception
dt
- Datejava.lang.Exception
- Thrown if the discount factor cannot be calculateddouble df(java.lang.String strTenor) throws java.lang.Exception
strTenor
- Tenorjava.lang.Exception
- Thrown if the Discount Factor cannot be calculateddouble effectiveDF(int iDate1, int iDate2) throws java.lang.Exception
iDate1
- First DateiDate2
- Second Datejava.lang.Exception
- Thrown if the discount factor cannot be calculateddouble effectiveDF(JulianDate dt1, JulianDate dt2) throws java.lang.Exception
dt1
- First Datedt2
- Second Datejava.lang.Exception
- Thrown if the discount factor cannot be calculateddouble effectiveDF(java.lang.String strTenor1, java.lang.String strTenor2) throws java.lang.Exception
strTenor1
- First DatestrTenor2
- Second Datejava.lang.Exception
- Thrown if the discount factor cannot be calculated