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