|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectjava.util.Date
org.huihoo.jfox.ms.jms.util.JMSTimestamp
This class implements timestamp for Messages.
| Constructor Summary | |
JMSTimestamp()
Default Constructor without param |
|
JMSTimestamp(long timestamp)
Build JMSTimestamp with special time. |
|
| Method Summary | |
long |
getCurrentTime()
Return time as milliseconds since epoc. |
void |
setCurrentTime(long timestamp)
Set the current time. |
java.lang.String |
toString()
|
| Methods inherited from class java.util.Date |
after, before, clone, compareTo, compareTo, equals, getDate, getDay, getHours, getMinutes, getMonth, getSeconds, getTime, getTimezoneOffset, getYear, hashCode, parse, setDate, setHours, setMinutes, setMonth, setSeconds, setTime, setYear, toGMTString, toLocaleString, UTC |
| Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public JMSTimestamp()
public JMSTimestamp(long timestamp)
timestamp - | Method Detail |
public long getCurrentTime()
throws javax.jms.JMSException
javax.jms.JMSExceptionpublic void setCurrentTime(long timestamp)
timestamp - public java.lang.String toString()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||