Module org.jooq
Package org.jooq.impl

Class TimestampToLocalDateTimeConverter

All Implemented Interfaces:
Serializable, ContextConverter<Timestamp,LocalDateTime>, Converter<Timestamp,LocalDateTime>

@Deprecated public final class TimestampToLocalDateTimeConverter extends AbstractContextConverter<Timestamp,LocalDateTime>
Deprecated.
- 3.15.0 - [#11505] - Use Converter.ofNullable(Class, Class, Function, Function) instead, e.g. Converter.ofNullable(Timestamp.class, LocalDateTime.class, Timestamp::toLocalDateTime, Timestamp::valueOf).
Author:
Lukas Eder
See Also:
  • Constructor Details

    • TimestampToLocalDateTimeConverter

      public TimestampToLocalDateTimeConverter()
      Deprecated.
  • Method Details

    • from

      public final LocalDateTime from(Timestamp t, ConverterContext scope)
      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

      public final Timestamp to(LocalDateTime u, ConverterContext scope)
      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.