|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.otfeed.command.MonthAndYear
public final class MonthAndYear
Composite, encapsulating month and year values. It is used to specify option expiration date.
This class is immutable.
Field Summary | |
---|---|
int |
month
Month. |
int |
year
Year. |
Constructor Summary | |
---|---|
MonthAndYear(int month,
int year)
Constructor of the composite object. |
Method Summary | |
---|---|
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public final int month
public final int year
Constructor Detail |
---|
public MonthAndYear(int month, int year)
Method Detail |
---|
public java.lang.String toString()
toString
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |