org.jutil.util
Class TimePeriod

java.lang.Object
  extended by org.jutil.util.TimePeriod
All Implemented Interfaces:
java.io.Externalizable, java.io.Serializable

public class TimePeriod
extends java.lang.Object
implements java.io.Externalizable

See Also:
Serialized Form

Constructor Summary
TimePeriod()
           
TimePeriod(java.sql.Timestamp startTimestamp, java.sql.Timestamp endTimestamp)
           
 
Method Summary
 boolean equals(java.lang.Object object)
           
 java.sql.Timestamp getEndTimestamp()
           
 java.sql.Timestamp getStartTimestamp()
           
 int hashCode()
           
 void readExternal(java.io.ObjectInput in)
           
 void setEndTimestamp(java.sql.Timestamp endTimestamp)
           
 void setStartTimestamp(java.sql.Timestamp startTimestamp)
           
 void writeExternal(java.io.ObjectOutput out)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TimePeriod

public TimePeriod()

TimePeriod

public TimePeriod(java.sql.Timestamp startTimestamp,
                  java.sql.Timestamp endTimestamp)
Method Detail

setStartTimestamp

public void setStartTimestamp(java.sql.Timestamp startTimestamp)

getStartTimestamp

public java.sql.Timestamp getStartTimestamp()

setEndTimestamp

public void setEndTimestamp(java.sql.Timestamp endTimestamp)

getEndTimestamp

public java.sql.Timestamp getEndTimestamp()

equals

public boolean equals(java.lang.Object object)
Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

writeExternal

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

readExternal

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