|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object
|
+--org.chronicj.impl.AbstractTemporalExpression
|
+--org.chronicj.impl.DifferenceTE
TemporalExpression that provides the difference of
two composing expressions; for use in a set expression.
This class is based directly on patterns described in a paper by Martin Fowler which can be found here.
| Constructor Summary | |
DifferenceTE(org.chronicj.TemporalExpression included,
org.chronicj.TemporalExpression excluded)
Creates an instance of DifferenceTE using two other TemporalExpressions such that the new expression matches
dates/times based on the set defined by argument 1 - argument 2. |
|
| Method Summary | |
boolean |
includes(org.chronicj.TimePoint aTimePoint)
Used to check whether a given date is occurs within the current range expressed by this TemporalExpression. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public DifferenceTE(org.chronicj.TemporalExpression included,
org.chronicj.TemporalExpression excluded)
TemporalExpressions such that the new expression matches
dates/times based on the set defined by argument 1 - argument 2.
included - the full TemporalExpressionexcluded - the TemporalExpression that is "subtracted" from the
full set
java.lang.NullPointerException - if either argument is null| Method Detail |
public boolean includes(org.chronicj.TimePoint aTimePoint)
TemporalExpressionTemporalExpression.
includes in interface TemporalExpressionincludes in class AbstractTemporalExpressionaTimePoint - the TimePoint to be checked for inclusion in the
current set
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||