Class DateConverter

  • All Implemented Interfaces:
    javax.persistence.AttributeConverter<java.time.LocalDate,​java.lang.String>

    @Deprecated
    public class DateConverter
    extends java.lang.Object
    implements javax.persistence.AttributeConverter<java.time.LocalDate,​java.lang.String>
    Deprecated.
    DateConverter is now used. Keep this class for backward runtime compatibility
    Author:
    Danila Mazour
    • Constructor Detail

      • DateConverter

        public DateConverter()
        Deprecated.
    • Method Detail

      • convertToDatabaseColumn

        public java.lang.String convertToDatabaseColumn​(java.time.LocalDate localDate)
        Deprecated.
        Specified by:
        convertToDatabaseColumn in interface javax.persistence.AttributeConverter<java.time.LocalDate,​java.lang.String>
      • convertToEntityAttribute

        public java.time.LocalDate convertToEntityAttribute​(java.lang.String s)
        Deprecated.
        Specified by:
        convertToEntityAttribute in interface javax.persistence.AttributeConverter<java.time.LocalDate,​java.lang.String>