DateTimeInterval
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.
|
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-11-28 UTC.
[null,null,["Last updated 2024-11-28 UTC."],[[["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."]]],[]]