All Downloads are FREE. Search and download functionalities are using the official Maven repository.

ca.gc.aafc.dina.validation.ISOPartialDate Maven / Gradle / Ivy

There is a newer version: 0.132
Show newest version
package ca.gc.aafc.dina.validation;

import java.lang.annotation.Documented;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

import javax.validation.Constraint;
import javax.validation.Payload;

@Target(ElementType.FIELD)
@Retention(RetentionPolicy.RUNTIME)
@Documented
@Constraint(validatedBy = ISOPartialDateValidator.class)
public @interface ISOPartialDate {
  
  String message() default "The provided value cannot be parsed to ISO Date";

  Class[] groups() default {};

  Class[] payload() default {};
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy