public final class TimestampToLocalDateTimeConverter extends AbstractConverter<Timestamp,LocalDateTime>
Constructor and Description |
---|
TimestampToLocalDateTimeConverter() |
Modifier and Type | Method and Description |
---|---|
LocalDateTime |
from(Timestamp t)
Convert a database object to a user object
|
Timestamp |
to(LocalDateTime u)
Convert a user object to a database object
|
fromType, toString, toType
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
andThen, inverse, of, ofNullable
public final LocalDateTime from(Timestamp t)
Converter
t
- The database objectpublic final Timestamp to(LocalDateTime u)
Converter
u
- The user objectCopyright © 2019. All rights reserved.