DateTimeInterval
تنظيم صفحاتك في مجموعات
يمكنك حفظ المحتوى وتصنيفه حسب إعداداتك المفضّلة.
تمثّل هذه السمة فترة زمنية بين نقطتَي DateTime.
يجب أن يتطابق حقل timeZone لكل من startTime وendTime.
تمثيل JSON |
{
"startTime": {
object (DateTime )
},
"endTime": {
object (DateTime )
}
} |
الحقول |
startTime |
object (DateTime )
نقطة البيانات الأولى في الفاصل الزمني (شاملة) يجب أن تتطابق المنطقة الزمنية لنقطة النهاية مع المنطقة الزمنية لنقطة البداية.
|
endTime |
object (DateTime )
نقطة البيانات النهائية للفاصل الزمني (غير شاملة) يجب أن تتطابق المنطقة الزمنية لنقطة النهاية مع المنطقة الزمنية لنقطة البداية.
|
إنّ محتوى هذه الصفحة مرخّص بموجب ترخيص Creative Commons Attribution 4.0 ما لم يُنصّ على خلاف ذلك، ونماذج الرموز مرخّصة بموجب ترخيص Apache 2.0. للاطّلاع على التفاصيل، يُرجى مراجعة سياسات موقع Google Developers. إنّ Java هي علامة تجارية مسجَّلة لشركة Oracle و/أو شركائها التابعين.
تاريخ التعديل الأخير: 2025-07-26 (حسب التوقيت العالمي المتفَّق عليه)
[null,null,["تاريخ التعديل الأخير: 2025-07-26 (حسب التوقيت العالمي المتفَّق عليه)"],[[["\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. |"]]