Package org.jooq.impl
Class TimeToLocalTimeConverter
- java.lang.Object
-
- org.jooq.impl.AbstractConverter<java.sql.Time,java.time.LocalTime>
-
- org.jooq.impl.TimeToLocalTimeConverter
-
- All Implemented Interfaces:
java.io.Serializable
,Converter<java.sql.Time,java.time.LocalTime>
public final class TimeToLocalTimeConverter extends AbstractConverter<java.sql.Time,java.time.LocalTime>
- Author:
- Lukas Eder
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description TimeToLocalTimeConverter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.time.LocalTime
from(java.sql.Time t)
Convert a database object to a user objectjava.sql.Time
to(java.time.LocalTime u)
Convert a user object to a database object-
Methods inherited from class org.jooq.impl.AbstractConverter
fromType, toString, toType
-
-
-
-
Method Detail
-
from
public final java.time.LocalTime from(java.sql.Time t)
Description copied from interface:Converter
Convert a database object to a user object- Parameters:
t
- The database object- Returns:
- The user object
-
to
public final java.sql.Time to(java.time.LocalTime u)
Description copied from interface:Converter
Convert a user object to a database object- Parameters:
u
- The user object- Returns:
- The database object
-
-