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?
|