Class OffsetDateTimeConverter

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

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

    • OffsetDateTimeConverter

      public OffsetDateTimeConverter()
  • Method Details

    • convertToDatabaseColumn

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

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