- All Implemented Interfaces:
Serializable
,ContextConverter<Time,
,LocalTime> Converter<Time,
LocalTime>
@Deprecated
public final class TimeToLocalTimeConverter
extends AbstractContextConverter<Time,LocalTime>
Deprecated.
- Author:
- Lukas Eder
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionfinal LocalTime
from
(Time t, ConverterContext scope) Deprecated.Read and convert a database object to a user object.final Time
to
(LocalTime u, ConverterContext scope) Deprecated.Convert and write a user object to a database object.Methods inherited from class org.jooq.impl.AbstractContextConverter
toString
Methods inherited from class org.jooq.impl.AbstractConverter
fromType, toType
-
Constructor Details
-
TimeToLocalTimeConverter
public TimeToLocalTimeConverter()Deprecated.
-
-
Method Details
-
from
Deprecated.Description copied from interface:ContextConverter
Read 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:ContextConverter
Convert 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(Time.class, LocalTime.class, Time::toLocalTime, Time::valueOf)
.