|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.axis.types.Year
Implementation of the XML Schema type gYear
Constructor Summary | |
Year(int year)
Constructs a Year with the given values No timezone is specified |
|
Year(int year,
String timezone)
Constructs a Year with the given values, including a timezone string The timezone is validated but not used. |
|
Year(String source)
Construct a Year from a String in the format [-]CCYY[timezone] |
Method Summary | |
boolean |
equals(Object obj)
|
String |
getTimezone()
|
int |
getYear()
|
void |
setTimezone(String timezone)
|
void |
setValue(int year)
|
void |
setValue(int year,
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 Year(int year) throws NumberFormatException
public Year(int year, String timezone) throws NumberFormatException
public Year(String source) throws NumberFormatException
Method Detail |
public int getYear()
public void setYear(int year)
public String getTimezone()
public void setTimezone(String timezone)
public void setValue(int year, String timezone) throws NumberFormatException
NumberFormatException
public void setValue(int year) 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 |