Class DateConverter

java.lang.Object
org.bonitasoft.engine.business.data.generator.DateConverter
All Implemented Interfaces:
javax.persistence.AttributeConverter<LocalDate,String>

public class DateConverter extends Object implements javax.persistence.AttributeConverter<LocalDate,String>
Author:
Danila Mazour
  • Constructor Details

    • DateConverter

      public DateConverter()
  • Method Details

    • convertToDatabaseColumn

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

      public LocalDate convertToEntityAttribute(String s)
      Specified by:
      convertToEntityAttribute in interface javax.persistence.AttributeConverter<LocalDate,String>