public class After extends BaseConstraint<Calendar>
Calendar values that follow a given one.| Constructor and Description |
|---|
After(Calendar c)
Creates an instance with a given calendar.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
accepts(Calendar d)
Returns
true if a value satisfies the constraint. |
boolean |
equals(Object obj) |
int |
hashCode() |
String |
toString() |
public After(Calendar c)
c - the calendarpublic boolean accepts(Calendar 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<Calendar>Copyright © 2017. All Rights Reserved.