DateTimeInterval
Оптимизируйте свои подборки
Сохраняйте и классифицируйте контент в соответствии со своими настройками.
Представляет интервал между двумя точками DateTime.
Поле timeZone в startTime и endTime должно совпадать.
JSON-представление |
---|
{
"startTime": {
object (DateTime )
},
"endTime": {
object (DateTime )
}
} |
Поля |
---|
startTime | object ( DateTime ) Начальная точка данных интервала (включительно). Часовой пояс конечной точки должен совпадать с часовым поясом начальной точки. |
endTime | object ( DateTime ) Конечная точка данных интервала (исключая). Часовой пояс конечной точки должен совпадать с часовым поясом начальной точки. |
Если не указано иное, контент на этой странице предоставляется по лицензии Creative Commons "С указанием авторства 4.0", а примеры кода – по лицензии Apache 2.0. Подробнее об этом написано в правилах сайта. Java – это зарегистрированный товарный знак корпорации Oracle и ее аффилированных лиц.
Последнее обновление: 2025-07-24 UTC.
[null,null,["Последнее обновление: 2025-07-24 UTC."],[[["\u003cp\u003eRepresents an interval of time between two DateTime points, inclusive of the start and exclusive of the end.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003estartTime\u003c/code\u003e and \u003ccode\u003eendTime\u003c/code\u003e fields must have matching time zones.\u003c/p\u003e\n"],["\u003cp\u003eThe interval is represented using JSON, with \u003ccode\u003estartTime\u003c/code\u003e and \u003ccode\u003eendTime\u003c/code\u003e objects specifying the boundaries.\u003c/p\u003e\n"]]],["The core content describes a time interval defined by a start and end time. Both `startTime` and `endTime` are DateTime objects. The JSON representation shows these as the key fields. The time zone of the `endTime` must correspond to the timezone of the `startTime`. The interval's `startTime` is inclusive, and the `endTime` is exclusive.\n"],null,["# DateTimeInterval\n\n- [JSON representation](#SCHEMA_REPRESENTATION)\n\nRepresents an interval between two DateTime points.\n\nThe timeZone field of both startTime and endTime must match.\n\n| JSON representation |\n|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| ``` { \"startTime\": { object (/play/developer/reporting/reference/rest/Shared.Types/DateTime) }, \"endTime\": { object (/play/developer/reporting/reference/rest/Shared.Types/DateTime) } } ``` |\n\n| Fields ||\n|-------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `startTime` | `object (`[DateTime](/play/developer/reporting/reference/rest/Shared.Types/DateTime)`)` Starting datapoint of the interval (inclusive). The timezone of the end point must match the timezone of the start point. |\n| `endTime` | `object (`[DateTime](/play/developer/reporting/reference/rest/Shared.Types/DateTime)`)` Ending datapoint of the interval (exclusive). The timezone of the end point must match the timezone of the start point. |"]]