We're updating the issue view to help you get more done. 

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

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?

Environment

None

Status

Assignee

Guillaume Smet

Reporter

Hardy Ferentschik

Labels

Worked in

None

Feedback Requested

None

Feedback Requested By

None

backPortable

None

Community Help Wanted

None

Suitable for new contributors

None

Requires Release Note

None

Pull Request

None

backportDecision

None

backportReEvaluate

None

Components

Priority

Minor