Package org.apache.axis.types
Class Day
java.lang.Object
org.apache.axis.types.Day
- All Implemented Interfaces:
Serializable
Implementation of the XML Schema type gDay
- Author:
- Tom Jordahl invalid input: '<'tomj@macromedia.com>
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionDay
(int day) Constructs a Day with the given values No timezone is specifiedConstructs a Day with the given values, including a timezone string The timezone is validated but not used.Construct a Day from a String in the format ---DD[timezone] -
Method Summary
-
Constructor Details
-
Day
Constructs a Day with the given values No timezone is specified- Throws:
NumberFormatException
-
Day
Constructs a Day with the given values, including a timezone string The timezone is validated but not used.- Throws:
NumberFormatException
-
Day
Construct a Day from a String in the format ---DD[timezone]- Throws:
NumberFormatException
-
-
Method Details
-
getDay
public int getDay() -
setDay
public void setDay(int day) Set the day -
getTimezone
-
setTimezone
-
setValue
- Throws:
NumberFormatException
-
setValue
- Throws:
NumberFormatException
-
toString
-
equals
-
hashCode
public int hashCode()Return the value of day XORed with the hashCode of timezone iff one is defined.
-