Class LocalTimeToStringConverter

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

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

This converter formats times according to the DateTimeFormatter.ISO_LOCAL_TIME format.

Since:
5.0.1
Author:
Mahmoud Ben Hassine
  • Field Details

  • Constructor Details

    • LocalTimeToStringConverter

      public LocalTimeToStringConverter()
  • Method Details

    • convert

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