Uploaded image for project: 'Hibernate Validator'
  1. HV-898

Provide custom constraints @Before and @After for time based types which cannot be mapped to an instant

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: Minor
    • Resolution: Duplicate
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: engine
    • Labels:
    • Last commented by a user?:
      true
    • Sprint:

      Description

      Amongst the new Java 8 date/time types are several types which are not mappable to a specific point on the timeline, e.g. MonthDate or Localtime. For these types @Past and @Future don't make sense. However, we could provide custom constraints to determine a before and after.

      Thoughts?

        Attachments

          Issue links

            Activity

              People

              • Votes:
                1 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: