DateTimeInterval

  • Represents an interval of time between two DateTime points, inclusive of the start and exclusive of the end.

  • The startTime and endTime fields must have matching time zones.

  • The interval is represented using JSON, with startTime and endTime objects specifying the boundaries.

Represents an interval between two DateTime points.

The timeZone field of both startTime and endTime must match.

JSON representation
{
  "startTime": {
    object (DateTime)
  },
  "endTime": {
    object (DateTime)
  }
}
Fields
startTime

object (DateTime)

Starting datapoint of the interval (inclusive).

The timezone of the end point must match the timezone of the start point.

endTime

object (DateTime)

Ending datapoint of the interval (exclusive).

The timezone of the end point must match the timezone of the start point.