|
||||||||||
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.GDay
The class represents xsd day type.
Field Summary |
Fields inherited from class org.idoox.wasp.serialization.xsdbuiltin.DateTimeBase |
isNegative, timeZone |
Constructor Summary | |
GDay(int day,
TimeZone timeZone)
Constructor. |
|
GDay(java.lang.String gDay)
Constructor that initializes this object. |
Method Summary | |
boolean |
equals(java.lang.Object o)
Equals based on day and DateTimeBase values. |
int |
getDay()
Returns day member of this object. |
int |
hashCode()
|
void |
setParams(int day,
TimeZone timeZone)
Sets parameters of this object. |
java.lang.String |
toString()
Deserializes this object to XSD string that represents date. |
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 GDay(int day, TimeZone timeZone) throws DateTimeException
day
- a value of day.timeZone
- a value of time zone. It may be null.
DateTimeException
- thrown when parameters are invalid.public GDay(java.lang.String gDay) throws DateTimeException
gDay
- a string representation of day.
DateTimeException
- thrown when parameters are invalid.Method Detail |
public void setParams(int day, TimeZone timeZone) throws DateTimeException
day
- a value of day.timeZone
- a value of time zone. It may be null.
DateTimeException
- thrown when parameters are invalid.public java.lang.String toString()
public int getDay()
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 |