DateToStringConverter
and
StringToSqlDateConverter
instead@Deprecated public class DateConverter extends Converter
Constructor and Description |
---|
DateConverter(String attributeName,
String format)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
void |
convert(Model m)
Deprecated.
|
String |
formatMessage(Locale locale,
Object... params)
Deprecated.
Provides default implementation, will look for a property in resource bundle, using set message as key.
|
getMessage, setMessage
public String formatMessage(Locale locale, Object... params)
ValidatorAdapter
formatMessage
in interface Validator
formatMessage
in class ValidatorAdapter
locale
- locale to use, or null for default locale.params
- parameters in case a message is parametrized.Copyright © 2016 JavaLite. All rights reserved.