DateRange
Tetap teratur dengan koleksi
Simpan dan kategorikan konten berdasarkan preferensi Anda.
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.
[[["Mudah dipahami","easyToUnderstand","thumb-up"],["Memecahkan masalah saya","solvedMyProblem","thumb-up"],["Lainnya","otherUp","thumb-up"]],[["Informasi yang saya butuhkan tidak ada","missingTheInformationINeed","thumb-down"],["Terlalu rumit/langkahnya terlalu banyak","tooComplicatedTooManySteps","thumb-down"],["Sudah usang","outOfDate","thumb-down"],["Masalah terjemahan","translationIssue","thumb-down"],["Masalah kode / contoh","samplesCodeIssue","thumb-down"],["Lainnya","otherDown","thumb-down"]],["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"]]