DateRange
Spesifikasi satu rentang tanggal. Kedua tanggal bersifat inklusif.
Representasi JSON |
{
"startDate": {
object (Date )
},
"endDate": {
object (Date )
}
} |
Kolom |
startDate |
object (Date )
Tanggal mulai rentang tanggal, inklusif. Harus lebih kecil dari atau sama dengan tanggal akhir.
|
endDate |
object (Date )
Tanggal akhir rentang tanggal, inklusif. Harus lebih besar dari atau sama dengan tanggal mulai.
|
Kecuali dinyatakan lain, konten di halaman ini dilisensikan berdasarkan Lisensi Creative Commons Attribution 4.0, sedangkan contoh kode dilisensikan berdasarkan Lisensi Apache 2.0. Untuk mengetahui informasi selengkapnya, lihat Kebijakan Situs Google Developers. Java adalah merek dagang terdaftar dari Oracle dan/atau afiliasinya.
Terakhir diperbarui pada 2024-10-14 UTC.
[null,null,["Terakhir diperbarui pada 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"]]