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 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."]]],[]]