DateRange
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 2024-05-14 UTC.
[null,null,["Last updated 2024-05-14 UTC."],[[["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"]]