public class Timestamp extends Date
| Modifier and Type | Method and Description |
|---|---|
boolean |
after(Timestamp ts) |
boolean |
before(Timestamp ts) |
boolean |
equals(java.lang.Object ts)
Checks to see if the Date object passed occurs at the same time as the existing Date object.
|
boolean |
equals(Timestamp ts) |
int |
getNanos() |
long |
getTime()
Returns the number of seconds since SQL_EPOCH 1/1/1970.
|
void |
setNanos(int n) |
java.lang.String |
toString()
Returns the date in a string format.
|
advance, advanceMonth, advanceMonth, advanceWeek, advanceWeek, compareTo, formatDate, formatDate, formatDate, formatDate, formatDayMonth, getDate, getDateInt, getDay, getDayOfWeek, getDaysInMonth, getDaysInMonth, getDaysInMonth, getGregorianDay, getMonth, getMonthName, getSQLLong, getSQLString, getSQLString, getWeek, getYear, isAfter, isBefore, isLeapYear, set, set, setToday, subtract, toString, toStringpublic Timestamp(Time t)
public Timestamp(long time)
public long getTime()
Datepublic java.lang.String toString()
Datepublic int getNanos()
public void setNanos(int n)
public boolean equals(Timestamp ts)
public boolean equals(java.lang.Object ts)
Datepublic boolean before(Timestamp ts)
public boolean after(Timestamp ts)