TimeInterval
컬렉션을 사용해 정리하기
내 환경설정을 기준으로 콘텐츠를 저장하고 분류하세요.
JSON 표현 |
{
"kind": string,
"start": {
object (DateTime )
},
"end": {
object (DateTime )
}
} |
필드 |
kind (deprecated) |
string
리소스의 종류를 식별합니다. 값은 고정 문자열 "walletobjects#timeInterval" 입니다.
|
start |
object (DateTime )
간격의 시작 시간입니다. 오프셋은 필요하지 않습니다. 오프셋을 입력하고 end 시간을 설정할 경우 end 에 오프셋도 포함해야 합니다.
|
end |
object (DateTime )
간격 종료 시간입니다. 오프셋은 필요하지 않습니다. 오프셋을 입력하고 start 시간을 설정할 경우 start 에 오프셋도 포함해야 합니다.
|
달리 명시되지 않는 한 이 페이지의 콘텐츠에는 Creative Commons Attribution 4.0 라이선스에 따라 라이선스가 부여되며, 코드 샘플에는 Apache 2.0 라이선스에 따라 라이선스가 부여됩니다. 자세한 내용은 Google Developers 사이트 정책을 참조하세요. 자바는 Oracle 및/또는 Oracle 계열사의 등록 상표입니다.
최종 업데이트: 2025-07-25(UTC)
[null,null,["최종 업데이트: 2025-07-25(UTC)"],[[["\u003cp\u003eJSON representation defines a time interval with a start and end time.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003ekind\u003c/code\u003e field is deprecated and was used to identify the resource type.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003estart\u003c/code\u003e and \u003ccode\u003eend\u003c/code\u003e fields represent the start and end times of the interval, respectively, using the DateTime object.\u003c/p\u003e\n"],["\u003cp\u003eOffsets in \u003ccode\u003estart\u003c/code\u003e and \u003ccode\u003eend\u003c/code\u003e are optional but must be consistent if used in either field.\u003c/p\u003e\n"]]],["The JSON representation defines a time interval with `start` and `end` time objects, both referencing a `DateTime` schema. The `kind` field, a string, is deprecated. If an offset is provided for the `start` time, an offset must also be included in the `end` time, and vice-versa. Both the `start` and `end` fields are optional for offset inclusion.\n"],null,["# TimeInterval\n\n- [JSON representation](#SCHEMA_REPRESENTATION)\n\n| JSON representation |\n|----------------------------------------------------------------------------------------------------------------------------------------------|\n| ``` { \"kind\": string, \"start\": { object (/wallet/reference/rest/v1/DateTime) }, \"end\": { object (/wallet/reference/rest/v1/DateTime) } } ``` |\n\n| Fields ||\n|-------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `kind` **(deprecated)** | `string` | This item is deprecated! Identifies what kind of resource this is. Value: the fixed string `\"walletobjects#timeInterval\"`. |\n| `start` | `object (`[DateTime](/wallet/reference/rest/v1/DateTime)`)` Start time of the interval. Offset is not required. If an offset is provided and `end` time is set, `end` must also include an offset. |\n| `end` | `object (`[DateTime](/wallet/reference/rest/v1/DateTime)`)` End time of the interval. Offset is not required. If an offset is provided and `start` time is set, `start` must also include an offset. |"]]