|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sourceforge.fixagora.basis.shared.control.YieldCalculator
public class YieldCalculator
The Class YieldCalculator.
| Nested Class Summary | |
|---|---|
static class |
YieldCalculator.CalcMethod
The Enum CalcMethod. |
| Method Summary | |
|---|---|
static YieldCalculator |
getInstance()
Gets the single instance of YieldCalculator. |
java.lang.Double |
getPrice(FSecurity fSecurity,
double yield,
java.util.Date settlementDate,
int basis,
YieldCalculator.CalcMethod calcMethod)
Gets the price. |
java.lang.Double |
getYield(FSecurity fSecurity,
double price,
java.util.Date settlementDate,
int basis,
YieldCalculator.CalcMethod calcMethod)
Gets the yield. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public java.lang.Double getYield(FSecurity fSecurity,
double price,
java.util.Date settlementDate,
int basis,
YieldCalculator.CalcMethod calcMethod)
fSecurity - the f securityprice - the pricesettlementDate - the settlement datebasis - the basiscalcMethod - the calc method
public java.lang.Double getPrice(FSecurity fSecurity,
double yield,
java.util.Date settlementDate,
int basis,
YieldCalculator.CalcMethod calcMethod)
fSecurity - the f securityyield - the yieldsettlementDate - the settlement datebasis - the basiscalcMethod - the calc method
public static YieldCalculator getInstance()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||