Class StringToDateConverter

java.lang.Object
com.vaadin.featurepack.data.converter.StringToDateConverter
All Implemented Interfaces:
Converter<String,Date>, com.vaadin.flow.data.converter.Converter<String,Date>, Serializable

public class StringToDateConverter extends Object implements Converter<String,Date>
A converter that converts from Date to String and back. Uses the given locale and DateFormat for formatting and parsing.

Leading and trailing white spaces are ignored when converting from a String.

Override and overwrite getFormat(Locale) to use a different format.

Author:
Vaadin Ltd
See Also: