Module org.jooq
Package org.jooq.impl

Class TimeToLocalTimeConverter

java.lang.Object
org.jooq.impl.AbstractConverter<Time,LocalTime>
org.jooq.impl.TimeToLocalTimeConverter
All Implemented Interfaces:
Serializable, Converter<Time,LocalTime>

@Deprecated public final class TimeToLocalTimeConverter extends AbstractConverter<Time,LocalTime>
Deprecated.
- 3.15.0 - [#11505] - Use Converter.ofNullable(Class, Class, Function, Function) instead, e.g. Converter.ofNullable(Time.class, LocalTime.class, Time::toLocalTime, Time::valueOf).
Author:
Lukas Eder
See Also:
  • Constructor Details

    • TimeToLocalTimeConverter

      public TimeToLocalTimeConverter()
      Deprecated.
  • Method Details

    • from

      public final LocalTime from(Time t)
      Deprecated.
      Description copied from interface: Converter
      Read and convert a database object to a user object.
      Parameters:
      t - The database object.
      Returns:
      The user object.
    • to

      public final Time to(LocalTime u)
      Deprecated.
      Description copied from interface: Converter
      Convert and write a user object to a database object.
      Parameters:
      u - The user object.
      Returns:
      The database object.