Class LocalDateTimeToStringConverter
java.lang.Object
org.springframework.batch.core.converter.LocalDateTimeToStringConverter
- All Implemented Interfaces:
org.springframework.core.convert.converter.Converter<LocalDateTime, String>
@Deprecated(since="6.1.0",
forRemoval=true)
public class LocalDateTimeToStringConverter
extends Object
implements org.springframework.core.convert.converter.Converter<LocalDateTime, String>
Deprecated, for removal: This API element is subject to removal in a future version.
Converter implementation from LocalDateTime to String.
This converter formats dates according to the
DateTimeFormatter.ISO_LOCAL_DATE_TIME format.
- Since:
- 5.0.1
- Author:
- Mahmoud Ben Hassine
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected DateTimeFormatterDeprecated, for removal: This API element is subject to removal in a future version.protected DateTimeFormatterDeprecated, for removal: This API element is subject to removal in a future version.protected DateTimeFormatterDeprecated, for removal: This API element is subject to removal in a future version.protected DateTimeFormatterDeprecated, for removal: This API element is subject to removal in a future version. -
Constructor Summary
ConstructorsConstructorDescriptionDeprecated, for removal: This API element is subject to removal in a future version. -
Method Summary
Modifier and TypeMethodDescriptionconvert(LocalDateTime source) Deprecated, for removal: This API element is subject to removal in a future version.Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.springframework.core.convert.converter.Converter
andThen
-
Field Details
-
instantFormatter
Deprecated, for removal: This API element is subject to removal in a future version. -
localDateFormatter
Deprecated, for removal: This API element is subject to removal in a future version. -
localTimeFormatter
Deprecated, for removal: This API element is subject to removal in a future version. -
localDateTimeFormatter
Deprecated, for removal: This API element is subject to removal in a future version.
-
-
Constructor Details
-
LocalDateTimeToStringConverter
public LocalDateTimeToStringConverter()Deprecated, for removal: This API element is subject to removal in a future version.
-
-
Method Details
-
convert
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
convertin interfaceorg.springframework.core.convert.converter.Converter<LocalDateTime, String>
-
ConversionServiceFactory.createConversionService(). Scheduled for removal in 7.0.0.