org.apache.axis.types
Class Day
java.lang.Object
org.apache.axis.types.Day
- java.io.Serializable
public class Day
extends java.lang.Object
implements java.io.Serializable
Implementation of the XML Schema type gDay
Day(String source) - Construct a Day from a String in the format ---DD[timezone]
|
Day(int day) - Constructs a Day with the given values
No timezone is specified
|
Day(int day, String timezone) - Constructs a Day with the given values, including a timezone string
The timezone is validated but not used.
|
Day
public Day(String source)
throws NumberFormatException
Construct a Day from a String in the format ---DD[timezone]
Day
public Day(int day)
throws NumberFormatException
Constructs a Day with the given values
No timezone is specified
Day
public Day(int day,
String timezone)
throws NumberFormatException
Constructs a Day with the given values, including a timezone string
The timezone is validated but not used.
equals
public boolean equals(Object obj)
getDay
public int getDay()
getTimezone
public String getTimezone()
hashCode
public int hashCode()
Return the value of day XORed with the hashCode of timezone
iff one is defined.
setDay
public void setDay(int day)
Set the day
setTimezone
public void setTimezone(String timezone)
setValue
public void setValue(int day)
throws NumberFormatException
setValue
public void setValue(int day,
String timezone)
throws NumberFormatException
toString
public String toString()
Copyright B) 2005 Apache Web Services Project. All Rights Reserved.