org.jboss.axis.types
Class Time
java.lang.Object
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] |
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
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.