
com.avaje.ebean.validation.Past Maven / Gradle / Ivy
The newest version!
package com.avaje.ebean.validation;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
import com.avaje.ebean.validation.factory.PastValidatorFactory;
/**
* Validate a Date, Timestamp or Calendar property as having to be in the past.
*/
@ValidatorMeta(factory = PastValidatorFactory.class)
@Target({ ElementType.FIELD, ElementType.METHOD })
@Retention(RetentionPolicy.RUNTIME)
public @interface Past {
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy