org.javalite.activejdbc.validation
Class DateConverter
java.lang.Object
org.javalite.activejdbc.validation.Converter
org.javalite.activejdbc.validation.DateConverter
- All Implemented Interfaces:
- Validator
public class DateConverter
- extends Converter
- Author:
- Igor Polevoy
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DateConverter
public DateConverter(String attributeName,
String format)
convert
public void convert(Model m)
setMessage
public void setMessage(String message)
- Description copied from interface:
Validator
- Sets an message on this validator.
- Parameters:
message - error message.
formatMessage
public String formatMessage(Locale locale,
Object... params)
- Description copied from interface:
Validator
- Formats a message with locale.
- Parameters:
locale - locale to use.params - parameters in case a message is parametrized.
- Returns:
- formatted message
Copyright © 2013. All Rights Reserved.