Deprecated
- 3.15.0 - [#11505] - Use
Converter#ofNullable(Class, Class, Function, Function)
instead, e.g.
Converter.ofNullable(Timestamp.class, LocalDateTime.class, Timestamp::toLocalDateTime, Timestamp::valueOf).
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public final LocalDateTime | from(Timestamp
The database object. t, ConverterContext The context of this conversion. scope)Implements org. |
| public final Timestamp | to(LocalDateTime
The user object. u, ConverterContext The context of this conversion. scope)Implements org. |
| TimestampToLocalDateTimeConverter | back to summary |
|---|---|
| public TimestampToLocalDateTimeConverter() | |
| from | back to summary |
|---|---|
| public final LocalDateTime from(Timestamp t, ConverterContext scope) Implements org. Doc from org. Read and convert a database object to a user object.
| |
| to | back to summary |
|---|---|
| public final Timestamp to(LocalDateTime u, ConverterContext scope) Implements org. Doc from org. Convert and write a user object to a database object.
| |