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