public class SimpleDateConverter extends Object implements org.springframework.core.convert.converter.Converter<String,Date>
Converter
which uses a given DateFormat
to convert a String
to a Date
. By default the
DateFormat
is derived from the given locale using DateFormat.DEFAULT
. You can specify the date format pattern
by providing the dateformat property.Constructor and Description |
---|
SimpleDateConverter(DateFormat dateFormat) |
public SimpleDateConverter(DateFormat dateFormat)
Copyright © 2018–2020 b+m Informatik AG. All rights reserved.