public class TimestampValidator extends ValidatorAdapter
java.sql.Timestamp if the
 format of correct. If value is missing or format is bad, acts as a validator.| Constructor and Description | 
|---|
TimestampValidator(String attributeName,
                  String format)  | 
| Modifier and Type | Method and Description | 
|---|---|
String | 
formatMessage(Locale locale,
             Object... params)
Provides default implementation, will look for a property in resource bundle, using set message as key. 
 | 
void | 
validate(Model m)
Called by framework when a  
Model.validate() method called. | 
getMessage, setMessagepublic void validate(Model m)
ValidatorModel.validate() method called.m - model being validated.public String formatMessage(Locale locale, Object... params)
ValidatorAdapterformatMessage in interface ValidatorformatMessage in class ValidatorAdapterlocale - locale to use, or null for default locale.params - parameters in case a message is parametrized.Copyright © 2020 JavaLite. All rights reserved.