public class ValuationParams
extends java.lang.Object
Constructor and Description |
---|
ValuationParams(JulianDate dtValue,
JulianDate dtCashPay,
java.lang.String strCalendar)
Construct ValuationParams from the Valuation Date and the Cash Pay Date parameters
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
calendar()
Retrieve the Calendar
|
int |
cashPayDate()
Retrieve the Cash Pay Date
|
static ValuationParams |
Spot(int iDate)
Create the spot valuation parameters for the given valuation date (uses the T+0 settle)
|
static ValuationParams |
Spot(JulianDate dtValue,
int iCashSettleLag,
java.lang.String strCalendar,
int iAdjustMode)
Create the valuation parameters object instance from the valuation date, the cash settle lag, and the
settle calendar.
|
static ValuationParams |
Standard(JulianDate dtValue,
java.lang.String strCalendar)
Create the standard T+2B settle parameters for the given valuation date and calendar
|
int |
valueDate()
Retrieve the Valuation Date
|
public ValuationParams(JulianDate dtValue, JulianDate dtCashPay, java.lang.String strCalendar) throws java.lang.Exception
dtValue
- Valuation DatedtCashPay
- Cash Pay DatestrCalendar
- Calendar Setjava.lang.Exception
- Thrown if inputs are invalidpublic static final ValuationParams Spot(JulianDate dtValue, int iCashSettleLag, java.lang.String strCalendar, int iAdjustMode)
dtValue
- Valuation DateiCashSettleLag
- Cash settle lagstrCalendar
- Calendar SetiAdjustMode
- The Adjustment Mode Flagpublic static final ValuationParams Spot(int iDate)
iDate
- Valuation Datepublic static final ValuationParams Standard(JulianDate dtValue, java.lang.String strCalendar)
dtValue
- Valuation DatestrCalendar
- Settle Calendarpublic int valueDate()
public int cashPayDate()
public java.lang.String calendar()