[hibernate-dev] [HV] Supporting Joda Time API with @Past/@Future

Alaa Mohsen alaa.mohsen at egyptdc.com
Thu Mar 25 01:51:02 EDT 2010


I'm for with that. As for it being too specific, I believe that the new
validators can be made to depend on Joda Time as a compile dependency that
is not needed by anyone using Hibernate Validator unless he needs that
functionality.

On Wed, Mar 24, 2010 at 11:40 PM, Gunnar Morling <
gunnar.morling at googlemail.com> wrote:

> Hi,
>
> for Hibernate Validator 4.1 we are planning to add some new constraints. In
> this context Hardy and I discussed whether it might be worth to add support
> for the date/time types from the Joda Time API (
> http://joda-time.sourceforge.net/) for the @Past/@Future standard
> constraints.
>
> I think Joda is quite popular these days, and the upcoming JSR 310 is
> heavily influenced by Joda, too (the spec lead is also the lead of Joda).
> So
> this might add value for users, OTOH such support might be too specific.
> Are
> there any opinions on this?
>
> Thanks, Gunnar
> _______________________________________________
> hibernate-dev mailing list
> hibernate-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/hibernate-dev
>



More information about the hibernate-dev mailing list