[hibernate-issues] [Hibernate-JIRA] Updated: (HV-307) Support @Past/@Future annotations at types from the Joda Time API

Hardy Ferentschik (JIRA) noreply at atlassian.com
Fri May 14 04:00:25 EDT 2010


     [ http://opensource.atlassian.com/projects/hibernate/browse/HV-307?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Hardy Ferentschik updated HV-307:
---------------------------------

    Fix Version/s: 4.2.0

> Support @Past/@Future annotations at types from the Joda Time API
> -----------------------------------------------------------------
>
>                 Key: HV-307
>                 URL: http://opensource.atlassian.com/projects/hibernate/browse/HV-307
>             Project: Hibernate Validator
>          Issue Type: New Feature
>          Components: validators
>    Affects Versions: 4.1.0
>            Reporter: Gunnar Morling
>            Assignee: Hardy Ferentschik
>             Fix For: 4.2.0
>
>
> Background:
> The Bean Validation API specifies the annotations @Past and @Future, which are allowed at the JDK types Date and Calendar.
> Due to several issues and restrictions of these JDK types the open-source Joda Time API (http://joda-time.sourceforge.net/) which provides alternative date/time types became quite popular within the last years. 
> To do:
> * Hibernate Validator should add support for @Past/@Future for the Joda API date/times types by providing ConstraintValidator implementations for these types.
> * The Joda Time API should be added as optional dependency to HV. Upon runtime HV should check reflectively if Joda is on the class path. If that's the case, the Joda validators should be registered.
> * The HV reference guide should mention the additional types at which the @Past/@Future are supported.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://opensource.atlassian.com/projects/hibernate/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the hibernate-issues mailing list