|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object ca.uhn.cache.internal.util.TimestampUtils
Group utility to handle converions between java.util.Date
and java.sql.TimeStamp
.
Method Summary | |
static java.sql.Timestamp |
dateToTimestamp(java.util.Date theDate)
Converts a date to a time stamp. |
static java.util.Date |
timestampToDate(java.sql.Timestamp theTimestamp)
Converts a time stamp to a date. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
public static final java.sql.Timestamp dateToTimestamp(java.util.Date theDate)
theDate
- The source date.
Timestamp
public static final java.util.Date timestampToDate(java.sql.Timestamp theTimestamp)
theTimestamp
- The source time stamp.
Timestamp
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |