站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JBoss 4.0.1 sp1 jaxrpc API Documentation 英文版文档

Month (JAXRPC API) - JBoss 4.0.1 sp1 jaxrpc API Documentation 英文版文档


org.apache.axis.types
Class Month

java.lang.Object
  extended byorg.apache.axis.types.Month
All Implemented Interfaces:
Serializable

public class Month
extends Object
implements Serializable

Implementation of the XML Schema type gMonth

Author:
Tom Jordahl
See Also:
XML Schema 3.2.14, Serialized Form

Constructor Summary
Month(int month)
          Constructs a Month with the given values No timezone is specified
Month(int month, String timezone)
          Constructs a Month with the given values, including a timezone string The timezone is validated but not used.
Month(String source)
          Construct a Month from a String in the format --MM--[timezone]
 
Method Summary
 boolean equals(Object obj)
           
 int getMonth()
           
 String getTimezone()
           
 void setMonth(int month)
           
 void setTimezone(String timezone)
           
 void setValue(int month)
           
 void setValue(int month, String timezone)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Month

public Month(int month)
      throws NumberFormatException
Constructs a Month with the given values No timezone is specified


Month

public Month(int month,
             String timezone)
      throws NumberFormatException
Constructs a Month with the given values, including a timezone string The timezone is validated but not used.


Month

public Month(String source)
      throws NumberFormatException
Construct a Month from a String in the format --MM--[timezone]

Method Detail

getMonth

public int getMonth()

setMonth

public void setMonth(int month)

getTimezone

public String getTimezone()

setTimezone

public void setTimezone(String timezone)

setValue

public void setValue(int month,
                     String timezone)
              throws NumberFormatException
Throws:
NumberFormatException

setValue

public void setValue(int month)
              throws NumberFormatException
Throws:
NumberFormatException

toString

public String toString()

equals

public boolean equals(Object obj)


Copyright © 2002 JBoss Group, LLC. All Rights Reserved.