DateTimeInterval
컬렉션을 사용해 정리하기
내 환경설정을 기준으로 콘텐츠를 저장하고 분류하세요.
두 DateTime 지점 사이의 간격을 나타냅니다.
startTime과 endTime의 timeZone 필드가 일치해야 합니다.
JSON 표현 |
{
"startTime": {
object (DateTime )
},
"endTime": {
object (DateTime )
}
} |
필드 |
startTime |
object (DateTime )
간격의 시작 데이터 포인트입니다 (포함). 종료 지점의 시간대는 시작 지점의 시간대와 일치해야 합니다.
|
endTime |
object (DateTime )
간격의 종료 데이터 포인트입니다 (해당 값 제외). 종료 지점의 시간대는 시작 지점의 시간대와 일치해야 합니다.
|
달리 명시되지 않는 한 이 페이지의 콘텐츠에는 Creative Commons Attribution 4.0 라이선스에 따라 라이선스가 부여되며, 코드 샘플에는 Apache 2.0 라이선스에 따라 라이선스가 부여됩니다. 자세한 내용은 Google Developers 사이트 정책을 참조하세요. 자바는 Oracle 및/또는 Oracle 계열사의 등록 상표입니다.
최종 업데이트: 2025-07-26(UTC)
[null,null,["최종 업데이트: 2025-07-26(UTC)"],[[["\u003cp\u003eRepresents an interval between two DateTime points, requiring matching time zones for both start and end times.\u003c/p\u003e\n"],["\u003cp\u003eIncludes \u003ccode\u003estartTime\u003c/code\u003e and \u003ccode\u003eendTime\u003c/code\u003e fields, both utilizing the DateTime object for specifying the interval's boundaries.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003estartTime\u003c/code\u003e is inclusive, while the \u003ccode\u003eendTime\u003c/code\u003e is exclusive, indicating the range of the interval.\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. |"]]