org.jboss.axis.types
Class Time

java.lang.Object
  extended by org.jboss.axis.types.Time

public class Time
extends Object

Class that represents the xsd:time XML Schema type


Constructor Summary
Time(Calendar value)
          Initialize with a Calender, year month and date are ignored
Time(String value)
          Converts a string formatted as HH:mm:ss[.SSS][+/-offset]
 
Method Summary
 boolean equals(Object obj)
           
 Calendar getAsCalendar()
           
 void setTime(Calendar date)
           
 void setTime(Date date)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Time

public Time(Calendar value)
Initialize with a Calender, year month and date are ignored


Time

public Time(String value)
     throws NumberFormatException
Converts a string formatted as HH:mm:ss[.SSS][+/-offset]

Throws:
NumberFormatException
Method Detail

getAsCalendar

public Calendar getAsCalendar()

setTime

public void setTime(Calendar date)

setTime

public void setTime(Date date)

toString

public String toString()
Overrides:
toString in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object


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