com.timeindexing.time
Class Month

java.lang.Object
  extended bycom.timeindexing.time.AbstractTimeSpecifier
      extended bycom.timeindexing.time.Month
All Implemented Interfaces:
java.lang.Cloneable, TimeSpecifier, Value

public class Month
extends AbstractTimeSpecifier
implements TimeSpecifier

A TimeSpecifier for months.


Constructor Summary
Month(long count, TimeDirection direction)
          Construct a Month TimeSpecifier.
Month(long count, TimeDirection direction, TimeSpecifier modifier)
          Construct a Month TimeSpecifier.
 
Method Summary
 Timestamp instantiate(Timestamp t)
          Instantiate this TimeSpecifier w.r.t a particular Timestamp.
 java.lang.String toString()
          To String
 
Methods inherited from class com.timeindexing.time.AbstractTimeSpecifier
afterDoing, clone, getDirection, getHowMany, getPredecessor, hasPredecessor, then, value
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.timeindexing.time.TimeSpecifier
afterDoing, then, value
 

Constructor Detail

Month

public Month(long count,
             TimeDirection direction)
Construct a Month TimeSpecifier.


Month

public Month(long count,
             TimeDirection direction,
             TimeSpecifier modifier)
Construct a Month TimeSpecifier.

Method Detail

instantiate

public Timestamp instantiate(Timestamp t)
Instantiate this TimeSpecifier w.r.t a particular Timestamp. It returns a Timestamp which has been modified by the amount of the TimeSpecifier.

Specified by:
instantiate in interface TimeSpecifier

toString

public java.lang.String toString()
To String