Spring MVC Date Validation jsr303 today or greater than today

1.4k views Asked by At

I have a field :

private Date effectiveDate;

I intend to use jsr303 validation and need to validate that the date is today or greater than today.

I was unable to find an annotation for this.

I came across @Past and @Future but I need something like @TodayOrFuture

Is there any such existing annotation or does this require a custom annotation?

All inputs appreciated.

Thanks

0

There are 0 answers