Class LocalDateToStringConverter

java.lang.Object
org.springframework.batch.core.converter.LocalDateToStringConverter
All Implemented Interfaces:
org.springframework.core.convert.converter.Converter<LocalDate,String>

public class LocalDateToStringConverter extends Object implements org.springframework.core.convert.converter.Converter<LocalDate,String>
Converter implementation from LocalDate to String.

This converter formats dates according to the DateTimeFormatter.ISO_LOCAL_DATE format.

Since:
5.0.1
Author:
Mahmoud Ben Hassine
  • Field Details

  • Constructor Details

    • LocalDateToStringConverter

      public LocalDateToStringConverter()
  • Method Details

    • convert

      public String convert(LocalDate source)
      Specified by:
      convert in interface org.springframework.core.convert.converter.Converter<LocalDate,String>