Hi Gunnar,

Since Duration is really just seconds and milliseconds and any conversion is always flat (in the sense it doesn't take into account daylight savings time, for instance), I find it way less useful to support than Period and arbitrary TemporalAmounts (such asĀ http://www.threeten.org/threeten-extra/apidocs/org/threeten/extra/Days.html ).

That's something we should probably focus on more because they are even more fitting for use in business applications. Hopefully I won't disappear for weeks anymore ;-)

Regards,
Michael

On Thu, Feb 16, 2017 at 4:03 PM, Gunnar Morling <gunnar@hibernate.org> wrote:
Hi,

The first Alpha of the Bean Validation 2.0 reference implementation,
Hibernate Validator 6, is available now.

It implements the Early Draft 1, but also contains some more things
where we thought it'd be great to get some feedback first. E.g.
there's support for constraint definition using Lambda expressions.

Please check out the post on beanvalidation.org and the full
announcement on the Hibernate blog for all the details:

* http://beanvalidation.org/news/2017/02/16/first-alpha-of-bean-validation-2-0-reference-implementation/
* http://in.relation.to/2017/02/16/hibernate-validator-600-alpha1-out/

This release gives you the opportunity to play with the things we've
added so far, for instance you can experiment with custom value
extractors. Any feedback is welcome.

Thanks a lot to Guillaume for his hard work on this release!

--Gunnar
_______________________________________________
beanvalidation-dev mailing list
beanvalidation-dev@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/beanvalidation-dev