Class OffsetDateTimeToDateWriteConverter

  • All Implemented Interfaces:
    org.springframework.core.convert.converter.Converter<OffsetDateTime,​Date>

    @WritingConverter
    public class OffsetDateTimeToDateWriteConverter
    extends Object
    implements org.springframework.core.convert.converter.Converter<OffsetDateTime,​Date>
    The offset date time to data write converter.
    Author:
    Christian Bremer
    • Constructor Detail

      • OffsetDateTimeToDateWriteConverter

        public OffsetDateTimeToDateWriteConverter()
    • Method Detail

      • convert

        public Date convert​(OffsetDateTime offsetDateTime)
        Specified by:
        convert in interface org.springframework.core.convert.converter.Converter<OffsetDateTime,​Date>