Top Fields Constructors Methods
org.jooq.impl

pack-priv final Class TimestampToJavaUtilDateConverter

extends AbstractContextConverter<Timestamp, Date>
Class Inheritance
Imports
java.sql.Timestamp, org.jooq.ConverterContext

Author
Lukas Eder

Field Summary

Modifier and TypeField and Description
pack-priv static final TimestampToJavaUtilDateConverter

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
public final Date
from(Timestamp
The database object.
t
,
ConverterContext
The context of this conversion.
scope
)

Implements org.jooq.ContextConverter.from.

Read and convert a database object to a user object.
public final Timestamp
to(Date
The user object.
u
,
ConverterContext
The context of this conversion.
scope
)

Implements org.jooq.ContextConverter.to.

Convert and write a user object to a database object.
Inherited from org.jooq.impl.AbstractContextConverter:
toString

Field Detail

INSTANCEback to summary
pack-priv static final TimestampToJavaUtilDateConverter INSTANCE

Constructor Detail

TimestampToJavaUtilDateConverterback to summary
private TimestampToJavaUtilDateConverter()

Method Detail

fromback to summary
public final Date from(Timestamp t, ConverterContext scope)

Implements org.jooq.ContextConverter.from.

Doc from org.jooq.ContextConverter.from.

Read and convert a database object to a user object.

Parameters
t:Timestamp

The database object.

scope:ConverterContext

The context of this conversion.

Returns:Date

The user object.

Annotations
@Override
toback to summary
public final Timestamp to(Date u, ConverterContext scope)

Implements org.jooq.ContextConverter.to.

Doc from org.jooq.ContextConverter.to.

Convert and write a user object to a database object.

Parameters
u:Date

The user object.

scope:ConverterContext

The context of this conversion.

Returns:Timestamp

The database object.

Annotations
@Override