|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.axis.types.YearMonth
Implementation of the XML Schema type gYearMonth
Constructor Summary | |
YearMonth(int year,
int month)
Constructs a YearMonth with the given values No timezone is specified |
|
YearMonth(int year,
int month,
String timezone)
Constructs a YearMonth with the given values, including a timezone string The timezone is validated but not used. |
|
YearMonth(String source)
Construct a YearMonth from a String in the format [-]CCYY-MM |
Method Summary | |
boolean |
equals(Object obj)
|
int |
getMonth()
|
String |
getTimezone()
|
int |
getYear()
|
void |
setMonth(int month)
|
void |
setTimezone(String timezone)
|
void |
setValue(int year,
int month)
|
void |
setValue(int year,
int month,
String timezone)
|
void |
setYear(int year)
|
String |
toString()
|
Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public YearMonth(int year, int month) throws NumberFormatException
public YearMonth(int year, int month, String timezone) throws NumberFormatException
public YearMonth(String source) throws NumberFormatException
Method Detail |
public int getYear()
public void setYear(int year)
public int getMonth()
public void setMonth(int month)
public String getTimezone()
public void setTimezone(String timezone)
public void setValue(int year, int month, String timezone) throws NumberFormatException
NumberFormatException
public void setValue(int year, int month) throws NumberFormatException
NumberFormatException
public String toString()
public boolean equals(Object obj)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |