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. 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. |"]]