DateTimeInterval

  • Represents an interval between two DateTime points, requiring matching time zones for both start and end times.

  • Includes startTime and endTime fields, both utilizing the DateTime object for specifying the interval's boundaries.

  • The startTime is inclusive, while the endTime is exclusive, indicating the range of the interval.

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.