Skip to content

Instantly share code, notes, and snippets.

View sruehl's full-sized avatar

Sebastian Rühl sruehl

  • Germany
  • 09:40 (UTC +01:00)
View GitHub Profile

Keybase proof

I hereby claim:

  • I am sruehl on github.
  • I am sruehl (https://keybase.io/sruehl) on keybase.
  • I have a public key ASDF1QkqbHmu5byC43uAtwo9yZLbTDY_Lg62Fi-EfIKU5Qo

To claim this, I am signing this object:

@sruehl
sruehl / CheckLocalDate.java
Created December 1, 2014 17:21
LocalDateValidator JSR-303
package training.domain;
import javax.validation.Constraint;
import javax.validation.Payload;
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 java.time.temporal.ChronoUnit;