[
http://opensource.atlassian.com/projects/hibernate/browse/HV-307?page=com...
]
Gunnar Morling updated HV-307:
------------------------------
Description:
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.
was:
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.
Formatting
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
Affects Versions: 4.1.0
Reporter: Gunnar Morling
Assignee: Hardy Ferentschik
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....
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira