List of usage examples for org.joda.time.base AbstractInstant isBeforeNow
public boolean isBeforeNow()
From source file:org.hibernate.validator.constraints.impl.PastValidatorForAbstractInstant.java
License:Apache License
public boolean isValid(AbstractInstant value, ConstraintValidatorContext context) { //null values are valid if (value == null) { return true; }//from w w w.j a v a 2 s . c o m return value.isBeforeNow(); }