com.sleepycat.je.utilint
Class Timestamp

java.lang.Object
  extended by java.util.Date
      extended by com.sleepycat.je.utilint.Timestamp
All Implemented Interfaces:
Serializable, Cloneable, Comparable<Date>

public class Timestamp
extends Date

Duplicate of java.sql.Timestamp which keeps our implementation constant in case the java.sql.Timestamp implementation changes incompatibly. This way we can write it to disk and not worry about upgrading the log file.

See Also:
Serialized Form

Field Summary
(package private) static long serialVersionUID
           
 
Constructor Summary
Timestamp(long time)
           
 
Method Summary
 boolean equals(Object ts)
           
 boolean equals(Timestamp ts)
           
 long getTime()
           
 String toString()
           
 
Methods inherited from class java.util.Date
after, before, clone, compareTo, getDate, getDay, getHours, getMinutes, getMonth, getSeconds, 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
 

Field Detail

serialVersionUID

static final long serialVersionUID
See Also:
Constant Field Values
Constructor Detail

Timestamp

public Timestamp(long time)
Method Detail

getTime

public long getTime()
Overrides:
getTime in class Date

toString

public String toString()
Overrides:
toString in class Date

equals

public boolean equals(Timestamp ts)

equals

public boolean equals(Object ts)
Overrides:
equals in class Date


Copyright (c) 2004-2012 Oracle. All rights reserved.