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