Class DateToStringConverter
java.lang.Object
org.springframework.batch.core.converter.DateToStringConverter
public class DateToStringConverter
extends Object
implements org.springframework.core.convert.converter.Converter<Date,String>
Converter implementation from Date to String.
This converter formats dates according to the
DateTimeFormatter.ISO_INSTANT format.
- Since:
- 5.0.1
- Author:
- Mahmoud Ben Hassine
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected DateTimeFormatterprotected DateTimeFormatterprotected DateTimeFormatterprotected DateTimeFormatter -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.springframework.core.convert.converter.Converter
andThen