# Class: MeasurePeriod

## tibco.objectapi.ec.base.MeasurePeriod

#### new MeasurePeriod()

Definition of a specific time period used by a measure. When requesting a measure, a startDate, endDate and granularity value (HOUR, DAY, MONTH, YEAR, WEEK) must be specified. A MeasurePeriod will then be returned for each "unit" defined by this time period. For example if start and end dates defining 1 day of time are specified, with a granularity of HOUR, 24 MeasurePeriods will be returned. Constructs a new MeasurePeriod.
N.B. This is an abstract class - do not instantiate!

The following features are supported:

- `Index`
- `Duration`

### Members

#### duration :tibco.objectapi.ec.base.MeasureDuration

This property holds the value of the 'Duration' containment reference.

##### Type:

- tibco.objectapi.ec.base.MeasureDuration

#### index :number

Zero-based index for each measure period. The index will provide chronological ordering of the measures. This property holds the value of the 'Index' attribute.

##### Type:

- number