public interface Timestamp
| Modifier and Type | Method | Description |
|---|---|---|
java.util.Date |
toDate() |
Converts the timestamp to a
Date. |
java.time.Instant |
toInstant() |
Converts the timestamp to an
Instant. |
java.sql.Timestamp |
toSqlTimestamp() |
Converts the timestamp to an
SQL Timestamp. |
java.util.Date toDate()
Date.Date@IgnoreJRERequirement java.time.Instant toInstant()
Instant.Instantjava.sql.Timestamp toSqlTimestamp()
SQL Timestamp.SQL TimestampCopyright © 2020. All rights reserved.