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