org.apache.axis.types
public class Time extends Object implements Serializable
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()
return the time as a calendar: ignore the year, month and date fields |
int | hashCode()
Returns the hashcode of the underlying calendar.
|
void | setTime(Calendar date)
set the time; ignore year, month, date |
void | setTime(Date date)
set the time from a date instance |
String | toString()
stringify method returns the time as it would be in GMT, only accurate to the
second...millis probably get lost. |
Returns: calendar value; may be null
Returns: an int
value
Parameters: date
Parameters: date
Returns: