<div dir="ltr">Hi Gunnar,<div><br></div><div>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Ā <a href="http://www.threeten.org/threeten-extra/apidocs/org/threeten/extra/Days.html">http://www.threeten.org/threeten-extra/apidocs/org/threeten/extra/Days.html</a> ).</div><div><br></div><div>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 ;-)</div><div><br></div><div>Regards,</div><div>Michael</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Feb 16, 2017 at 4:03 PM, Gunnar Morling <span dir="ltr"><<a href="mailto:gunnar@hibernate.org" target="_blank">gunnar@hibernate.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>
<br>
The first Alpha of the Bean Validation 2.0 reference implementation,<br>
Hibernate Validator 6, is available now.<br>
<br>
It implements the Early Draft 1, but also contains some more things<br>
where we thought it'd be great to get some feedback first. E.g.<br>
there's support for constraint definition using Lambda expressions.<br>
<br>
Please check out the post on <a href="http://beanvalidation.org" rel="noreferrer" target="_blank">beanvalidation.org</a> and the full<br>
announcement on the Hibernate blog for all the details:<br>
<br>
* <a href="http://beanvalidation.org/news/2017/02/16/first-alpha-of-bean-validation-2-0-reference-implementation/" rel="noreferrer" target="_blank">http://beanvalidation.org/<wbr>news/2017/02/16/first-alpha-<wbr>of-bean-validation-2-0-<wbr>reference-implementation/</a><br>
* <a href="http://in.relation.to/2017/02/16/hibernate-validator-600-alpha1-out/" rel="noreferrer" target="_blank">http://in.relation.to/2017/02/<wbr>16/hibernate-validator-600-<wbr>alpha1-out/</a><br>
<br>
This release gives you the opportunity to play with the things we've<br>
added so far, for instance you can experiment with custom value<br>
extractors. Any feedback is welcome.<br>
<br>
Thanks a lot to Guillaume for his hard work on this release!<br>
<br>
--Gunnar<br>
______________________________<wbr>_________________<br>
beanvalidation-dev mailing list<br>
<a href="mailto:beanvalidation-dev@lists.jboss.org">beanvalidation-dev@lists.<wbr>jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/beanvalidation-dev" rel="noreferrer" target="_blank">https://lists.jboss.org/<wbr>mailman/listinfo/<wbr>beanvalidation-dev</a><br>
</blockquote></div><br></div>