- All Implemented Interfaces:
Serializable,ContextConverter<Date,,LocalDate> Converter<Date,LocalDate>
@Deprecated
public final class DateToLocalDateConverter
extends AbstractContextConverter<Date,LocalDate>
Deprecated.
- Author:
- Lukas Eder
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal LocalDatefrom(Date t, ConverterContext scope) Deprecated.Read and convert a database object to a user object.final Dateto(LocalDate u, ConverterContext scope) Deprecated.Convert and write a user object to a database object.Methods inherited from class org.jooq.impl.AbstractContextConverter
toStringMethods inherited from class org.jooq.impl.AbstractConverter
fromType, toType
-
Constructor Details
-
DateToLocalDateConverter
public DateToLocalDateConverter()Deprecated.
-
-
Method Details
-
from
Deprecated.Description copied from interface:ContextConverterRead and convert a database object to a user object.- Parameters:
t- The database object.scope- The context of this conversion.- Returns:
- The user object.
-
to
Deprecated.Description copied from interface:ContextConverterConvert and write a user object to a database object.- Parameters:
u- The user object.scope- The context of this conversion.- Returns:
- The database object.
-
Converter.ofNullable(Class, Class, Function, Function)instead, e.g.Converter.ofNullable(Date.class, LocalDate.class, Date::toLocalDate, Date::valueOf).