DateRange
تحديد نطاق زمني واحد كلا التاريخين شاملان.
تمثيل JSON |
{
"startDate": {
object (Date )
},
"endDate": {
object (Date )
}
} |
الحقول |
startDate |
object (Date )
تاريخ بدء النطاق الزمني، شامل يجب أن يكون تاريخ الانتهاء أقل من أو يساويه.
|
endDate |
object (Date )
تاريخ انتهاء النطاق الزمني، شامل يجب أن يكون تاريخ البدء أكبر من أو يساويه.
|
إنّ محتوى هذه الصفحة مرخّص بموجب ترخيص Creative Commons Attribution 4.0 ما لم يُنصّ على خلاف ذلك، ونماذج الرموز مرخّصة بموجب ترخيص Apache 2.0. للاطّلاع على التفاصيل، يُرجى مراجعة سياسات موقع Google Developers. إنّ Java هي علامة تجارية مسجَّلة لشركة Oracle و/أو شركائها التابعين.
تاريخ التعديل الأخير: 2024-10-14 (حسب التوقيت العالمي المتفَّق عليه)
[null,null,["تاريخ التعديل الأخير: 2024-10-14 (حسب التوقيت العالمي المتفَّق عليه)"],[[["Defines a single date range with inclusive start and end dates."],["The date range is represented using JSON, with `startDate` and `endDate` fields."],["Both `startDate` and `endDate` fields utilize the `Date` object for representation."],["`startDate` must be less than or equal to `endDate`, ensuring a valid date range."]]],["The JSON structure defines a date range using `startDate` and `endDate` objects. Both fields represent inclusive dates. The `startDate` must be less than or equal to the `endDate`, and the `endDate` must be greater than or equal to the `startDate`. Each date object in the JSON can be found in the associated Date documentation link provided in the description.\n"]]