org.exolab.jms.message
Class Timestamp

java.lang.Object
  |
  +--java.util.Date
        |
        +--org.exolab.jms.message.Timestamp
All Implemented Interfaces:
java.lang.Cloneable, java.lang.Comparable, java.io.Externalizable, java.io.Serializable

public class Timestamp
extends java.util.Date
implements java.io.Externalizable

Wrapper for JMSTimestamp.

Version:
$Revision: 1.1 $ $Date: 2004/11/26 01:50:43 $
Author:
Jim Mourikis
See Also:
Serialized Form

Constructor Summary
Timestamp()
           
Timestamp(long datetime)
           
 
Method Summary
 void readExternal(java.io.ObjectInput in)
           
 void setNow()
           
 long toLong()
           
 void writeExternal(java.io.ObjectOutput out)
           
 
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, toString, UTC
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Timestamp

public Timestamp()

Timestamp

public Timestamp(long datetime)
Method Detail

writeExternal

public void writeExternal(java.io.ObjectOutput out)
                   throws java.io.IOException
Specified by:
writeExternal in interface java.io.Externalizable

readExternal

public void readExternal(java.io.ObjectInput in)
                  throws java.io.IOException,
                         java.lang.ClassNotFoundException
Specified by:
readExternal in interface java.io.Externalizable

toLong

public long toLong()

setNow

public void setNow()


Copyright © 1999-2007 The OpenJMS Group. All Rights Reserved.