|
||||||||||
| 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.IsAfterInstantCondition
public class IsAfterInstantCondition
An AbstractInstantCondition implementation that checks whether the checked instant comes chronologically
after another instant.
| Constructor Summary | |
|---|---|
IsAfterInstantCondition(Calendar earlier)
Constructs a new IsAfterDateCondition with a given calendar to be checked against. |
|
IsAfterInstantCondition(Date earlier)
Constructs a new IsAfterDateCondition with a given date to be checked against. |
|
IsAfterInstantCondition(org.joda.time.ReadableInstant earlier)
Constructs a new IsAfterDateCondition with a given instant to be checked against. |
|
| Method Summary | |
|---|---|
protected boolean |
checkInstant(org.joda.time.ReadableInstant instant)
Checks whether the given instant comes chronologically after the instant associated with this instantCondition. |
org.joda.time.ReadableInstant |
getEarlier()
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 IsAfterInstantCondition(org.joda.time.ReadableInstant earlier)
earlier - The instant that this instantCondition will checkCalendar against.public IsAfterInstantCondition(Date earlier)
earlier - The date that this instantCondition will checkCalendar against.public IsAfterInstantCondition(Calendar earlier)
earlier - The calendar that this instantCondition will checkCalendar against.| Method Detail |
|---|
protected boolean checkInstant(org.joda.time.ReadableInstant instant)
checkInstant in class AbstractInstantConditioninstant - The instance to be checked.
true if the given instant comes after the instant associated with this instantCondition,
false otherwise.public org.joda.time.ReadableInstant getEarlier()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||