# DateTimeInterval

- [JSON representation](https://developers.google.com/play/developer/reporting/reference/rest/v1beta1/DateTimeInterval#SCHEMA_REPRESENTATION)

Represents an interval between two DateTime points.

The timeZone field of both startTime and endTime must match.

| JSON representation |
|---|
| ``` { "startTime": { object (`https://developers.google.com/play/developer/reporting/reference/rest/Shared.Types/DateTime`) }, "endTime": { object (`https://developers.google.com/play/developer/reporting/reference/rest/Shared.Types/DateTime`) } } ``` |

| Fields ||
|---|---|
| `startTime` | ``object (`https://developers.google.com/play/developer/reporting/reference/rest/Shared.Types/DateTime`)`` Starting datapoint of the interval (inclusive). The timezone of the end point must match the timezone of the start point. |
| `endTime` | ``object (`https://developers.google.com/play/developer/reporting/reference/rest/Shared.Types/DateTime`)`` Ending datapoint of the interval (exclusive). The timezone of the end point must match the timezone of the start point. |