|
|||||||||||
| 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(java.util.Calendar value)
Initializes with a Calender. |
|
Time(java.lang.String value)
Converts a string formatted as HH:mm:ss[.SSS][+/-offset] |
|
| Method Summary | |
boolean |
equals(java.lang.Object obj)
|
java.util.Calendar |
getAsCalendar()
Returns the time as a calendar. |
int |
hashCode()
Returns the hashcode of the underlying calendar. |
void |
setTime(java.util.Calendar date)
Sets the time; ignores year, month, date |
void |
setTime(java.util.Date date)
Sets the time from a date instance. |
java.lang.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(java.util.Calendar value)
public Time(java.lang.String value)
throws java.lang.NumberFormatException
| Method Detail |
public java.util.Calendar getAsCalendar()
public void setTime(java.util.Calendar date)
date - public void setTime(java.util.Date date)
date - public java.lang.String toString()
public boolean equals(java.lang.Object obj)
public int hashCode()
int value.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||