DateRange
Stay organized with collections
Save and categorize content based on your preferences.
Specification of a single date range. Both dates are inclusive.
JSON representation |
{
"startDate": {
object (Date )
},
"endDate": {
object (Date )
}
} |
Fields |
startDate |
object (Date )
Start date of the date range, inclusive. Must be less than or equal to the end date.
|
endDate |
object (Date )
End date of the date range, inclusive. Must be greater than or equal to the start date.
|
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-08-20 UTC.
[null,null,["Last updated 2025-08-20 UTC."],[],["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"],null,[]]