Class VDate
java.lang.Object
fc.web.forms.FieldValidator
fc.web.forms.VDate
Validates a date.
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class FieldValidator
getErrorMessage, getField
-
Constructor Details
-
VDate
-
-
Method Details
-
validate
Works with any field that returns a String via it'smethod. The date string can be any valid string that is parseable by the invalid input: '{@link java.text.DateFormat.parse(String)'} method (even if it's not semantically valid). For example, the following parses OK: 02/29/1980invalid reference
Field#getValue- Specified by:
validatein classFieldValidator- Throws:
ClassCastException- If the field'smethod does not return a Stringinvalid reference
Field#getValue
-