Module org.jooq
Package org.jooq.impl

Class DateToLocalDateConverter

java.lang.Object
org.jooq.impl.AbstractConverter<Date,​LocalDate>
org.jooq.impl.DateToLocalDateConverter
All Implemented Interfaces:
Serializable, Converter<Date,​LocalDate>

@Deprecated public final class DateToLocalDateConverter extends AbstractConverter<Date,​LocalDate>
Deprecated.
- 3.15.0 - [#11505] - Use Converter.ofNullable(Class, Class, java.util.function.Function, java.util.function.Function) instead, e.g. Converter.ofNullable(Date.class, LocalDate.class, Date::toLocalDate, Date::valueOf).
Author:
Lukas Eder
See Also:
Serialized Form
  • Constructor Details

    • DateToLocalDateConverter

      public DateToLocalDateConverter()
      Deprecated.
  • Method Details

    • from

      public final LocalDate from(Date 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 Date to(LocalDate 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.