AccessDateRange
連續的日期範圍:startDate、startDate + 1、...、endDate。
JSON 表示法 |
{
"startDate": string,
"endDate": string
} |
欄位 |
startDate |
string
查詢的開始日期 (含此日期),格式為 YYYY-MM-DD 。不得晚於 endDate 。系統也接受 NdaysAgo 、yesterday 或 today 格式,在這種情況下,系統會根據要求所在時區的目前時間推測日期。
|
endDate |
string
查詢的結束日期 (含此日期),格式為 YYYY-MM-DD 。不得早於 startDate 。系統也接受 NdaysAgo 、yesterday 或 today 格式,在這種情況下,系統會根據要求所在時區的目前時間推測日期。
|
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2025-01-14 (世界標準時間)。
[null,null,["上次更新時間:2025-01-14 (世界標準時間)。"],[[["Defines a date range using a start date and an end date, inclusive of both."],["Dates are represented in `YYYY-MM-DD` format or using relative terms like `NdaysAgo`, `yesterday`, or `today`."],["`startDate` cannot be after `endDate`, and `endDate` cannot be before `startDate`."],["The date values are interpreted based on the request's time zone."]]],["The core content describes a JSON structure for representing a date range. The JSON object contains `startDate` and `endDate` fields, both strings. These fields define an inclusive range of days. The format `YYYY-MM-DD` is required, but `NdaysAgo`, `yesterday`, and `today` are also valid and will infer the date from the request's time zone. `endDate` must not be before `startDate`, and `startDate` must not be after `endDate`.\n"]]