- java.lang.Object
-
- org.jooq.impl.AbstractConverter<Timestamp,LocalDateTime>
-
- org.jooq.impl.TimestampToLocalDateTimeConverter
-
- All Implemented Interfaces:
Serializable
,Converter<Timestamp,LocalDateTime>
public final class TimestampToLocalDateTimeConverter extends AbstractConverter<Timestamp,LocalDateTime>
- Author:
- Lukas Eder
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description TimestampToLocalDateTimeConverter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description LocalDateTime
from(Timestamp t)
Convert a database object to a user objectTimestamp
to(LocalDateTime 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 LocalDateTime from(Timestamp 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 Timestamp to(LocalDateTime u)
Description copied from interface:Converter
Convert a user object to a database object- Parameters:
u
- The user object- Returns:
- The database object
-
-