org.apache.axis.types
public class Year extends Object implements Serializable
See Also: XML Schema 3.2.11
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() |
int | hashCode()
Return the value of year XORed with the hashCode of timezone
iff one is defined.
|
void | setTimezone(String timezone) |
void | setValue(int year, String timezone) |
void | setValue(int year) |
void | setYear(int year) |
String | toString() |
Returns: an int
value