|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.axis2.databinding.types.Time
Class that represents the xsd:time XML Schema type
Constructor Summary | |
Time(Calendar value)
Initializes with a Calender. |
|
Time(String value)
Converts a string formatted as HH:mm:ss[.SSS][+/-offset] |
Method Summary | |
boolean |
equals(Object obj)
|
Calendar |
getAsCalendar()
Returns the time as a calendar. |
int |
hashCode()
Returns the hashcode of the underlying calendar. |
void |
setTime(Calendar date)
Sets the time; ignores year, month, date |
void |
setTime(Date date)
Sets the time from a date instance. |
String |
toString()
Returns the time as it would be in GMT. |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public Time(Calendar value)
public Time(String value) throws NumberFormatException
Method Detail |
public Calendar getAsCalendar()
public void setTime(Calendar date)
date
- public void setTime(Date date)
date
- public String toString()
public boolean equals(Object obj)
public int hashCode()
int
value.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |