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

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


org.apache.axis.types
Class Year

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

public class Year
extends Object
implements Serializable

Implementation of the XML Schema type gYear

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

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()
           
 void setTimezone(String timezone)
           
 void setValue(int year)
           
 void setValue(int year, String timezone)
           
 void setYear(int year)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Year

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


Year

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


Year

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

Method Detail

getYear

public int getYear()

setYear

public void setYear(int year)

getTimezone

public String getTimezone()

setTimezone

public void setTimezone(String timezone)

setValue

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

setValue

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

toString

public String toString()

equals

public boolean equals(Object obj)


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