[bv-dev] [Java 8] How about support java.time in @Future and @Past?

Markus Malkusch markus at malkusch.de
Thu Mar 27 01:27:54 EDT 2014


Dear bean validation

Java bean validation 1.1 @Future and @Past constraints are restricted to 
Calendar and Date only. Adding custom validators for Java 8's java.time types 
is possible as described in 8.1.2. Overriding constraint definitions in XML. 
But I'm just too lazy to do this for my own. I would love to see a new spec 
which includes the Java 8's java.time classes.

Sincerly Markus Malkusch
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
Url : http://lists.jboss.org/pipermail/beanvalidation-dev/attachments/20140327/8caf51e7/attachment.bin 


More information about the beanvalidation-dev mailing list