|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.idoox.wasp.serialization.xsdbuiltin.DateTimeBase
org.idoox.wasp.serialization.xsdbuiltin.GMonthDay
The class represents xsd gMonthDay type.
Field Summary |
Fields inherited from class org.idoox.wasp.serialization.xsdbuiltin.DateTimeBase |
isNegative, timeZone |
Constructor Summary | |
GMonthDay(int month,
int day,
TimeZone timeZone)
Constructor. |
|
GMonthDay(java.lang.String gMonthDay)
Constructor that initializes this object. |
Method Summary | |
boolean |
equals(java.lang.Object o)
Equals base on day, month and and DateTimeBase values. |
int |
getDay()
Returns day member of this object. |
int |
getMonth()
Returns month member of this object. |
int |
hashCode()
|
void |
setParams(int month,
int day,
TimeZone timeZone)
Sets parameters of this object. |
java.lang.String |
toString()
deserializes this object to XSD string that represents gMonthday. |
Methods inherited from class org.idoox.wasp.serialization.xsdbuiltin.DateTimeBase |
getTimeZone, hasNegativeValue, inputMonth, outputMonth, setDefaultTimeZone, setParams |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public GMonthDay(int month, int day, TimeZone timeZone) throws DateTimeException
month
- a value of month in the intervale 0-11.day
- a value of day.timeZone
- a timeZone value to set.
DateTimeException
- thrown when parameters are invalid.public GMonthDay(java.lang.String gMonthDay) throws DateTimeException
gMonthDay
- a string representation of gMonthDay
object.
DateTimeException
- thrown when parameters are invalid.Method Detail |
public void setParams(int month, int day, TimeZone timeZone) throws DateTimeException
month
- a value of month in the interval 0-11.day
- a value of day.timeZone
- a timeZone value to set.
DateTimeException
- thrown when parameters are invalid.public int getMonth()
public int getDay()
public java.lang.String toString()
public boolean equals(java.lang.Object o)
DateTimeBase
values.
public int hashCode()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |