org.springmodules.validation.util.condition.date
Class IsInThePastDateCondition
java.lang.Object
org.springmodules.validation.util.condition.AbstractCondition
org.springmodules.validation.util.condition.TypeSpecificCondition
org.springmodules.validation.util.condition.NonNullAcceptingTypeSpecificCondition
org.springmodules.validation.util.condition.date.AbstractDateCondition
org.springmodules.validation.util.condition.date.IsInThePastDateCondition
- All Implemented Interfaces:
- Condition
public class IsInThePastDateCondition
- extends AbstractDateCondition
An AbstractDateCondition
implementation that checks whether the
checked date is in the past.
- Author:
- Uri Boness
Method Summary |
protected boolean |
checkCalendar(Calendar calendar)
Checks whether the given calendar is in the past. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
IsInThePastDateCondition
public IsInThePastDateCondition()
checkCalendar
protected boolean checkCalendar(Calendar calendar)
- Checks whether the given calendar is in the past.
- Specified by:
checkCalendar
in class AbstractDateCondition
- Parameters:
calendar
- The checked calendar.
- Returns:
true
if the given calendar is in the past, false
otherwise.
Copyright © 2009. All Rights Reserved.