|
||||||||||
| 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.GYear
The class represents xsd year type.
| Field Summary |
| Fields inherited from class org.idoox.wasp.serialization.xsdbuiltin.DateTimeBase |
isNegative, timeZone |
| Constructor Summary | |
GYear(int year,
TimeZone timeZone,
boolean isNegative)
Constructor. |
|
GYear(java.lang.String gYear)
constructor that initializes this object. |
|
| Method Summary | |
boolean |
equals(java.lang.Object o)
Equals base on year and DateTimeBase values. |
int |
getYear()
Returns year member of this object. |
int |
hashCode()
|
void |
setParams(int year,
TimeZone timeZone,
boolean isNegative)
Sets parameters of this object. |
java.lang.String |
toString()
Deserializes this object to XSD string that represents year. |
| 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 GYear(int year,
TimeZone timeZone,
boolean isNegative)
throws DateTimeException
year - a value of year.timeZone - a timeZone value to set.isNegative - defines wherether this object has negative
value.
DateTimeException - thrown when parameters are invalid.
public GYear(java.lang.String gYear)
throws DateTimeException
gYear - the XML Schema representation.
DateTimeException - thrown when parameters are invalid.| Method Detail |
public void setParams(int year,
TimeZone timeZone,
boolean isNegative)
throws DateTimeException
year - a value of year.timeZone - a timeZone value to set.isNegative - defines wherether this object has negative
value.
DateTimeException - thrown when parameters are invalid.public java.lang.String toString()
public int getYear()
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 | |||||||||