com.timeindexing.time
Class AbstractIntervalSpecifier

java.lang.Object
  extended bycom.timeindexing.time.AbstractIntervalSpecifier
All Implemented Interfaces:
java.lang.Cloneable, IntervalSpecifier
Direct Known Subclasses:
IntervalTemplate

public abstract class AbstractIntervalSpecifier
extends java.lang.Object
implements IntervalSpecifier

An interface for objects that specify some specifier for an Interval


Constructor Summary
AbstractIntervalSpecifier()
           
 
Method Summary
 java.lang.Object clone()
          Clone this object.
 TimeSpecifier getEndSpecifier()
          Get the end of interval TimeSpecifier.
 TimeSpecifier getStartSpecifier()
          Get the start of interval TimeSpecifier.
abstract  Interval instantiate(AbsoluteTimestamp t)
          Instantiate this IntervalSpecifier w.r.t a particular Timestamp.
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractIntervalSpecifier

public AbstractIntervalSpecifier()
Method Detail

getStartSpecifier

public TimeSpecifier getStartSpecifier()
Get the start of interval TimeSpecifier.

Specified by:
getStartSpecifier in interface IntervalSpecifier

getEndSpecifier

public TimeSpecifier getEndSpecifier()
Get the end of interval TimeSpecifier.

Specified by:
getEndSpecifier in interface IntervalSpecifier

instantiate

public abstract Interval instantiate(AbsoluteTimestamp t)
Instantiate this IntervalSpecifier w.r.t a particular Timestamp. It returns a Interval which has been modified by

Specified by:
instantiate in interface IntervalSpecifier

clone

public java.lang.Object clone()
                       throws java.lang.CloneNotSupportedException
Clone this object.

Throws:
java.lang.CloneNotSupportedException