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 จะต้องรวมออฟเซ็ตด้วย
|
เนื้อหาของหน้าเว็บนี้ได้รับอนุญาตภายใต้ใบอนุญาตที่ต้องระบุที่มาของครีเอทีฟคอมมอนส์ 4.0 และตัวอย่างโค้ดได้รับอนุญาตภายใต้ใบอนุญาต Apache 2.0 เว้นแต่จะระบุไว้เป็นอย่างอื่น โปรดดูรายละเอียดที่นโยบายเว็บไซต์ Google Developers Java เป็นเครื่องหมายการค้าจดทะเบียนของ 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. |"]]