finance.options
Class VixRecord
java.lang.Object
finance.options.VixRecord
public class VixRecord
- extends java.lang.Object
Constructor Summary |
VixRecord(java.util.Date d,
double open,
double close,
double low,
double high)
|
VixRecord(java.lang.String s)
Date,(SPX) VIX Open,(SPX) VIX High,(SPX) VIX Low,(SPX) VIX Close
1/2/2004,17.96,18.68,17.54,18.22
|
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
VixRecord
public VixRecord(java.util.Date d,
double open,
double close,
double low,
double high)
VixRecord
public VixRecord(java.lang.String s)
throws java.text.ParseException
Date,(SPX) VIX Open,(SPX) VIX High,(SPX) VIX Low,(SPX) VIX Close
1/2/2004,17.96,18.68,17.54,18.22
- Parameters:
s
- String in the above format.
- Throws:
java.text.ParseException
main
public static void main(java.lang.String[] args)
throws java.text.ParseException
- Throws:
java.text.ParseException
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
getDate
public java.util.Date getDate()
setDate
public void setDate(java.util.Date date)
getOpen
public double getOpen()
setOpen
public void setOpen(double open)
getHigh
public double getHigh()
setHigh
public void setHigh(double high)
getLow
public double getLow()
setLow
public void setLow(double low)
getClose
public double getClose()
setClose
public void setClose(double close)