A TimeIndex object represents a time, or more precisely, a point in time. It consists of two elements:
- a time domain,
- a numerical index.
When required, the index is interpreted or generated by the time domain. However there are important and frequent operations which do not require interpretation and which can be performed efficiently using integer addition. An example is the creation of a new time index object by incrementing another one.
The design assumes that TimeIndex is implemented as an immutable object.
@author Jean-Paul Vetterli
@see TimeDomain