| 
 | ||||||||||
| 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.GYearMonth
The class represents xsd gYearMonth type.
| Field Summary | 
| Fields inherited from class org.idoox.wasp.serialization.xsdbuiltin.DateTimeBase | 
| isNegative, timeZone | 
| Constructor Summary | |
| GYearMonth(int year,
           int month,
           TimeZone timeZone,
           boolean isNegative)Constructor. | |
| GYearMonth(java.lang.String gYearMonth)constructor that initializes this object. | |
| Method Summary | |
|  boolean | equals(java.lang.Object o)Equals based on year, month and DateTimeBasevalues. | 
|  int | getMonth()Returns month member of this object. | 
|  int | getYear()Returns year member of this object. | 
|  int | hashCode() | 
|  void | setParams(int year,
          int month,
          TimeZone timeZone,
          boolean isNegative)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 GYearMonth(int year,
                  int month,
                  TimeZone timeZone,
                  boolean isNegative)
           throws DateTimeException
year - a value of year.month - a value of month in the interval 0-11.timeZone - timeZone a value of time zone. It may be
      null.isNegative - indicates that it is negative dateTime.
DateTimeException - thrown when parameters are invalid.
public GYearMonth(java.lang.String gYearMonth)
           throws java.lang.Exception
gYearMonth - the string representation.
java.lang.Exception - thrown when parameters are invalid.| Method Detail | 
public void setParams(int year,
                      int month,
                      TimeZone timeZone,
                      boolean isNegative)
               throws DateTimeException
year - a value of year.month - a value of month in the interval 0-11.timeZone - a value of time zone. It may be null.isNegative - indicates that it is negative dateTime.
DateTimeException - thrown when parameters are invalid.public java.lang.String toString()
public int getYear()
public int getMonth()
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 | |||||||||