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 も使用できます。この場合、日付はリクエストのタイムゾーンの現在の時刻に基づいて推測されます。
|
特に記載のない限り、このページのコンテンツはクリエイティブ・コモンズの表示 4.0 ライセンスにより使用許諾されます。コードサンプルは Apache 2.0 ライセンスにより使用許諾されます。詳しくは、Google Developers サイトのポリシーをご覧ください。Java は Oracle および関連会社の登録商標です。
最終更新日 2025-01-14 UTC。
[null,null,["最終更新日 2025-01-14 UTC。"],[[["Defines a date range using a start date and an end date, inclusive of both."],["Dates are specified in `YYYY-MM-DD` format or using relative terms like `NdaysAgo`, `yesterday`, or `today`."],["The `startDate` cannot be after the `endDate`, ensuring a valid date range."],["Both `startDate` and `endDate` 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"]]