Class StringToZonedDateTimeConverter
java.lang.Object
org.springframework.batch.core.converter.StringToZonedDateTimeConverter
- All Implemented Interfaces:
org.springframework.core.convert.converter.Converter<String, ZonedDateTime>
public class StringToZonedDateTimeConverter
extends Object
implements org.springframework.core.convert.converter.Converter<String, ZonedDateTime>
Converter implementation from String to ZonedDateTime.
This converter expects strings in the DateTimeFormatter.ISO_ZONED_DATE_TIME
format.
- Since:
- 6.0.2
- Author:
- Eunbin Son
-
Constructor Details
-
StringToZonedDateTimeConverter
public StringToZonedDateTimeConverter()
-
-
Method Details
-
convert
- Specified by:
convertin interfaceorg.springframework.core.convert.converter.Converter<String, ZonedDateTime>
-