com.sleepycat.je.utilint
Class Timestamp
java.lang.Object
java.util.Date
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
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 |
serialVersionUID
static final long serialVersionUID
- See Also:
- Constant Field Values
Timestamp
public Timestamp(long time)
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-2010 Oracle. All rights reserved.