public class LastTradingDateSetting
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static int |
MID_CURVE_OPTION
Generic Mid-Curve Option
|
static int |
MID_CURVE_OPTION_QUARTERLY
Quarterly Mid-Curve Option
|
static int |
MID_CURVE_OPTION_SERIAL
Serial Mid-Curve Option
|
Constructor and Description |
---|
LastTradingDateSetting(int iMidCurveOptionType,
java.lang.String strLastTradeExerciseLag,
int iLastTradingDate)
LastTradingDateSetting Constructor
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
lastTradeExerciseLag()
Retrieve the Lag between the Last Trading and Exercise Date
|
double |
lastTradingDate()
Retrieve the Last Trading Date
|
int |
lastTradingDate(int iUnderlyingLastTradingDate,
java.lang.String strCalendar)
Compute the Last Trading Date
|
static java.lang.String |
MidCurveOptionString(int iMidCurveOptionType)
Retrieve the String Version of the Mid Curve Option Setting
|
int |
midCurveOptionType()
Retrieve the Mid-Curve Option Type
|
java.lang.String |
toString() |
public static final int MID_CURVE_OPTION_QUARTERLY
public static final int MID_CURVE_OPTION_SERIAL
public static final int MID_CURVE_OPTION
public LastTradingDateSetting(int iMidCurveOptionType, java.lang.String strLastTradeExerciseLag, int iLastTradingDate) throws java.lang.Exception
iMidCurveOptionType
- Mid Curve Option TypestrLastTradeExerciseLag
- Lag between the Exercise Date and the Last Option Trading DateiLastTradingDate
- The Last Trading Datejava.lang.Exception
- Thrown if the Inputs are invalidpublic static final java.lang.String MidCurveOptionString(int iMidCurveOptionType)
iMidCurveOptionType
- The Mid Curve Option Typepublic int midCurveOptionType()
public java.lang.String lastTradeExerciseLag()
public double lastTradingDate()
public int lastTradingDate(int iUnderlyingLastTradingDate, java.lang.String strCalendar)
iUnderlyingLastTradingDate
- The Last Trading Date for the UnderlyingstrCalendar
- The Calendarpublic java.lang.String toString()
toString
in class java.lang.Object