TimeRange
Stay organized with collections
Save and categorize content based on your preferences.
A closed-open time range, i.e. [startTime, endTime).
JSON representation |
{
"startTime": string,
"endTime": string
} |
Fields |
startTime |
string (Timestamp format)
The lower bound of the time range. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z" .
|
endTime |
string (Timestamp format)
The upper bound of the time range. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z" .
|
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-10-17 UTC.
[null,null,["Last updated 2024-10-17 UTC."],[[["\u003cp\u003eRepresents a closed-open time range using a JSON object with \u003ccode\u003estartTime\u003c/code\u003e and \u003ccode\u003eendTime\u003c/code\u003e fields.\u003c/p\u003e\n"],["\u003cp\u003eBoth \u003ccode\u003estartTime\u003c/code\u003e and \u003ccode\u003eendTime\u003c/code\u003e are represented as strings in RFC3339 UTC "Zulu" format with nanosecond resolution.\u003c/p\u003e\n"],["\u003cp\u003eThe time range includes the \u003ccode\u003estartTime\u003c/code\u003e but excludes the \u003ccode\u003eendTime\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,["# TimeRange\n\n- [JSON representation](#SCHEMA_REPRESENTATION)\n\nA closed-open time range, i.e. \\[startTime, endTime).\n\n| JSON representation |\n|----------------------------------------------------|\n| ``` { \"startTime\": string, \"endTime\": string } ``` |\n\n| Fields ||\n|---------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `start``Time` | `string (`[Timestamp](https://protobuf.dev/reference/protobuf/google.protobuf/#timestamp)` format)` The lower bound of the time range. A timestamp in RFC3339 UTC \"Zulu\" format, with nanosecond resolution and up to nine fractional digits. Examples: `\"2014-10-02T15:01:23Z\"` and `\"2014-10-02T15:01:23.045123456Z\"`. |\n| `end``Time` | `string (`[Timestamp](https://protobuf.dev/reference/protobuf/google.protobuf/#timestamp)` format)` The upper bound of the time range. A timestamp in RFC3339 UTC \"Zulu\" format, with nanosecond resolution and up to nine fractional digits. Examples: `\"2014-10-02T15:01:23Z\"` and `\"2014-10-02T15:01:23.045123456Z\"`. |"]]