|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.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.IsBeforeInstantCondition
public class IsBeforeInstantCondition
An AbstractInstantCondition implementation that checks whether the checked instant comes chronologically
before another instant.
| Constructor Summary | |
|---|---|
IsBeforeInstantCondition(ReadableInstant later)
Constructs a new IsBeforeDateCondition with a given instant to be checked against. |
|
| Method Summary | |
|---|---|
protected boolean |
checkInstant(ReadableInstant instant)
Checks whether the given instant comes chronologically before the instant associated with this instantCondition. |
ReadableInstant |
getLater()
Returns the instant associated with this condition. |
| Methods inherited from class org.springmodules.validation.util.condition.date.jodatime.AbstractInstantCondition |
|---|
doCheck |
| Methods inherited from class org.springmodules.validation.util.condition.NonNullAcceptingTypeSpecificCondition |
|---|
beforeObjectChecked |
| Methods inherited from class org.springmodules.validation.util.condition.AbstractCondition |
|---|
afterObjectChecked, and, check, or |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public IsBeforeInstantCondition(ReadableInstant later)
later - The instant that this instantCondition will checkCalendar against.| Method Detail |
|---|
protected boolean checkInstant(ReadableInstant instant)
checkInstant in class AbstractInstantConditioninstant - The instance to be checked.
true if the given instant comes before the instant associated with this instantCondition,
false otherwise.public ReadableInstant getLater()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||