org.chronicj.impl
Class AbstractTemporalExpression

java.lang.Object
  |
  +--org.chronicj.impl.AbstractTemporalExpression
All Implemented Interfaces:
TemporalExpression
Direct Known Subclasses:
DayInMonthTE, DifferenceTE, RangeEachDayTE, RangeEachYearTE

public abstract class AbstractTemporalExpression
extends java.lang.Object
implements TemporalExpression

Abstract base class for TemporalExpression implementations.

Author:
Matthew Lipper

Constructor Summary
AbstractTemporalExpression()
          Creates a new AbstractTemporalExpression object.
 
Method Summary
abstract  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

AbstractTemporalExpression

public AbstractTemporalExpression()
Creates a new AbstractTemporalExpression object.

Method Detail

includes

public abstract boolean includes(org.chronicj.TimePoint aTimePoint)
Description copied from interface: TemporalExpression
Used to check whether a given date is occurs within the current range expressed by this TemporalExpression.

Specified by:
includes in interface TemporalExpression
Parameters:
aTimePoint - the TimePoint to be checked for inclusion in the current set
Returns:
true or false, indicating whether the supplied TimePoint occurs within the current range


Copyright © 2003-2004 Digital Clash Software. All Rights Reserved.