A type and range constraint on dates. Syntax is:
<column [type="date"] [after="date-after"] [before="date-before"] />
The type="date" parameter is implied when after or before is found.
Or:
<column>
<date [after="afer-date"] [before="before-date"] [format="
SimpleDateFormat format"] [message="error-message"] />
</column>
The format used to specify after and before dates is always yyyyMMdd . The format used to parse the input
is by default the short local date format (which depends upon the user locale) but can be configured using the format attribute.
author: Claude Brisson |