[bv-dev] Proposal for supporting new Java 8 date/time types

Hendrik Ebbers hendrik.ebbers at me.com
Thu Sep 1 06:14:49 EDT 2016


I like the the proposal :)
Currently it do not support new data types like Period or Duration (implementations of TemporalAmount). But for this types new annotations / constraints are needed. The question is if this should be supported by the JSR, too.

> Am 30.08.2016 um 14:39 schrieb Gunnar Morling <gunnar at hibernate.org>:
> 
> Anyone with thoughts/input on supporting the JSR 310 types?
> 
> 2016-08-25 12:10 GMT+02:00 Gunnar Morling <gunnar at hibernate.org <mailto:gunnar at hibernate.org>>:
> Hi,
> 
> I've pushed another proposal to the website [1], it's about adding @Past/@Future support for the date/time types added in Java 8 (java.time.* package, added by JSR 310). The proposal essentially standardizes the proprietary support we had in HV, plus some additions.
> 
> Please let me know what you think, especially on the questions towards the end. Either put comments inline on the source on GitHub [2] or let's have a discussion here.
> 
> I haven't been using JSR 310 extensively myself, so any feedback by those who have is more than welcome.
> 
> Thanks,
> 
> --Gunnar
> 
> [1] http://beanvalidation.org/proposals/BVAL-496/ <http://beanvalidation.org/proposals/BVAL-496/>
> [2] https://github.com/beanvalidation/beanvalidation.org/blob/production/proposals/BVAL-496.adoc <https://github.com/beanvalidation/beanvalidation.org/blob/production/proposals/BVAL-496.adoc>
> 
> 
> _______________________________________________
> beanvalidation-dev mailing list
> beanvalidation-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/beanvalidation-dev

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/beanvalidation-dev/attachments/20160901/8975265c/attachment.html 


More information about the beanvalidation-dev mailing list