Class OffsetDateTimeToBytesConverter

java.lang.Object
com.redis.om.spring.convert.OffsetDateTimeToBytesConverter
All Implemented Interfaces:
org.springframework.core.convert.converter.Converter<OffsetDateTime,byte[]>

@Component @WritingConverter public class OffsetDateTimeToBytesConverter extends Object implements org.springframework.core.convert.converter.Converter<OffsetDateTime,byte[]>
  • Constructor Details

    • OffsetDateTimeToBytesConverter

      public OffsetDateTimeToBytesConverter()
  • Method Details

    • convert

      public byte[] convert(OffsetDateTime source)
      Specified by:
      convert in interface org.springframework.core.convert.converter.Converter<OffsetDateTime,byte[]>