|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface CPIFactory
This interface defines methods for retrieving CPI values for given dates and offsets.
| Method Summary | |
|---|---|
double |
getCPI(java.util.Date date)
This method returns the CPI for the given Date. |
double |
getCPI(java.util.Date date,
int monthOffset)
This method returns the CPI for the given month offset from the given date. |
double |
getCPI(int year,
int month)
This method returns the CPI for the given year and month. |
double |
getCPI(int year,
int month,
int monthOffset)
This method returns the CPI for the given month offset from year and month. |
double |
getIndexRatio(java.util.Date datedDate,
java.util.Date settlementDate)
Returns the index ratio for a given datedDate and settlementDate. |
| Method Detail |
|---|
double getCPI(int year,
int month)
year - The yearmonth - The month
double getCPI(int year,
int month,
int monthOffset)
year - The yearmonth - The monthmonthOffset - Months from the given month.
double getCPI(java.util.Date date)
date - A Date
double getCPI(java.util.Date date,
int monthOffset)
date - A datemonthOffset - Months from the given month.
double getIndexRatio(java.util.Date datedDate,
java.util.Date settlementDate)
datedDate - The datedDate of the Security.settlementDate - The settlementDate for a given transaction.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||