- 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 SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionfinal LocalTimefrom(Time t, ConverterContext scope) Deprecated.Read and convert a database object to a user object.final Timeto(LocalTime u, ConverterContext scope) Deprecated.Convert and write a user object to a database object.Methods inherited from class org.jooq.impl.AbstractContextConvertertoStringMethods inherited from class org.jooq.impl.AbstractConverterfromType, toTypeMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.jooq.ConverterfromSupported, fromType, toSupported, toType
- 
Constructor Details- 
TimeToLocalTimeConverterpublic TimeToLocalTimeConverter()Deprecated.
 
- 
- 
Method Details- 
fromDeprecated.Description copied from interface:ContextConverterRead and convert a database object to a user object.Implementations that don't support this conversion are expected to override Converter.fromSupported()to indicate lack of support.- Parameters:
- t- The database object.
- scope- The context of this conversion.
- Returns:
- The user object.
 
- 
toDeprecated.Description copied from interface:ContextConverterConvert and write a user object to a database object.Implementations that don't support this conversion are expected to override Converter.toSupported()to indicate lack of support.- 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).