public class AfterDate extends BaseConstraint<Date>
Date values that follow a given one.| Constructor and Description |
|---|
AfterDate() |
AfterDate(Date d)
Creates an instance with a given date.
|
public AfterDate()
public AfterDate(Date d)
d - the datepublic boolean accepts(Date d)
true if a value satisfies the constraint.d - the value.true if the value satisfies the constraint, false if it does not.public String toString()
toString in class BaseConstraint<Date>Copyright © 2018. All Rights Reserved.