DateRange
Specyfikacja jednego zakresu dat. Oba daty są uwzględnione.
Zapis JSON |
{
"startDate": {
object (Date )
},
"endDate": {
object (Date )
}
} |
Pola |
startDate |
object (Date )
Data rozpoczęcia zakresu dat włącznie. Nie może być późniejsza niż data zakończenia.
|
endDate |
object (Date )
Data zakończenia zakresu dat włącznie. Musi być późniejsza niż data rozpoczęcia lub jej równa.
|
O ile nie stwierdzono inaczej, treść tej strony jest objęta licencją Creative Commons – uznanie autorstwa 4.0, a fragmenty kodu są dostępne na licencji Apache 2.0. Szczegółowe informacje na ten temat zawierają zasady dotyczące witryny Google Developers. Java jest zastrzeżonym znakiem towarowym firmy Oracle i jej podmiotów stowarzyszonych.
Ostatnia aktualizacja: 2024-10-14 UTC.
[null,null,["Ostatnia aktualizacja: 2024-10-14 UTC."],[[["Defines a single date range with inclusive start and end dates."],["`startDate` and `endDate` fields represent the boundaries of the date range, using the `Date` object format."],["The `startDate` must be less than or equal to the `endDate` to ensure a valid 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"]]