java.lang.Object
org.jooq.impl.AbstractConverter<Timestamp,LocalDateTime>
org.jooq.impl.TimestampToLocalDateTimeConverter
- All Implemented Interfaces:
Serializable
,Converter<Timestamp,
LocalDateTime>
@Deprecated
public final class TimestampToLocalDateTimeConverter
extends AbstractConverter<Timestamp,LocalDateTime>
Deprecated.
- Author:
- Lukas Eder
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionfinal LocalDateTime
Deprecated.Read and convert a database object to a user object.final Timestamp
to
(LocalDateTime u) Deprecated.Convert and write a user object to a database object.Methods inherited from class org.jooq.impl.AbstractConverter
fromType, toString, toType
-
Constructor Details
-
TimestampToLocalDateTimeConverter
public TimestampToLocalDateTimeConverter()Deprecated.
-
-
Method Details
-
from
Deprecated.Description copied from interface:Converter
Read and convert a database object to a user object.- Parameters:
t
- The database object.- Returns:
- The user object.
-
to
Deprecated.Description copied from interface:Converter
Convert and write a user object to a database object.- Parameters:
u
- The user object.- Returns:
- The database object.
-
Converter.ofNullable(Class, Class, Function, Function)
instead, e.g.Converter.ofNullable(Timestamp.class, LocalDateTime.class, Timestamp::toLocalDateTime, Timestamp::valueOf)
.