Bean Validation for @Past or today?
To get past and today you can use
@PastOrPresent
Just found out the answer for this, @Past means today or any day before today.
So, using @Past suits my need without having to provide my own constraint.
To get past and today you can use
@PastOrPresent
Just found out the answer for this, @Past means today or any day before today.
So, using @Past suits my need without having to provide my own constraint.