public interface Timestamp
Modifier and Type | Method and Description |
---|---|
long |
calcDifferenceInNanoseconds(Timestamp other)
Gets the difference to the passed timestamps in nanoseconds.
|
Date |
toDate()
Converts the timestamp to a
Date . |
Instant |
toInstant()
Converts the timestamp to an
Instant . |
Timestamp |
toSqlTimestamp()
Converts the timestamp to an
SQL Timestamp . |
@IgnoreJRERequirement Instant toInstant()
Instant
.Instant
Timestamp toSqlTimestamp()
SQL Timestamp
.SQL Timestamp
long calcDifferenceInNanoseconds(Timestamp other)
other
- Timestamp to subtractCopyright © 2024. All rights reserved.