|
7.0 Action Request System Java API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.remedy.arsys.api.Timestamp
The Timestamp
class represents the time
at which an operation was performed.
Constructor Summary | |
Timestamp()
constructor |
|
Timestamp(java.util.Date d)
|
|
Timestamp(long l)
|
Method Summary | |
java.lang.Object |
clone()
Clone implementation that returns an Object with data cloned from self. |
boolean |
equals(java.lang.Object anObject)
Use this method for checking equality of Timestamp. |
long |
getValue()
Returns the number of seconds since January 1, 1970 (according to UNIX conventions). |
void |
setValue(java.util.Date d)
Sets the time from the given date. |
void |
setValue(long l)
Sets the number of seconds for the time (in long integer format). |
void |
setValue(Timestamp ts)
Sets the time to the time of the given timestamp. |
java.util.Date |
toDate()
Returns the date in the java.util.Date format. |
java.lang.String |
toString()
Returns a string description of the timestamp. |
Methods inherited from class java.lang.Object |
finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public Timestamp()
public Timestamp(long l)
public Timestamp(java.util.Date d)
Method Detail |
public void setValue(long l)
long
integer format).
public void setValue(Timestamp ts)
public void setValue(java.util.Date d)
public long getValue()
public java.util.Date toDate()
java.util.Date
format.
public java.lang.String toString()
public boolean equals(java.lang.Object anObject)
public java.lang.Object clone() throws java.lang.CloneNotSupportedException
java.lang.CloneNotSupportedException
|
7.0 Action Request System Java API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |