DateTimeInterval
Menyatakan interval antara dua titik DateTime.
Kolom timeZone dari startTime dan endTime harus cocok.
Representasi JSON |
{
"startTime": {
object (DateTime )
},
"endTime": {
object (DateTime )
}
} |
Kolom |
startTime |
object (DateTime )
Titik data awal interval (inklusif). Zona waktu titik akhir harus sesuai dengan zona waktu titik awal.
|
endTime |
object (DateTime )
Titik data akhir interval (eksklusif). Zona waktu titik akhir harus sesuai dengan zona waktu titik awal.
|
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 2022-12-20 UTC.
[null,null,["Terakhir diperbarui pada 2022-12-20 UTC."],[[["Represents an interval of time between two DateTime points, inclusive of the start and exclusive of the end."],["The `startTime` and `endTime` fields must have matching time zones."],["The interval is represented using JSON, with `startTime` and `endTime` objects specifying the boundaries."]]],["The core content describes a time interval defined by a start and end time. Both `startTime` and `endTime` are DateTime objects. The JSON representation shows these as the key fields. The time zone of the `endTime` must correspond to the timezone of the `startTime`. The interval's `startTime` is inclusive, and the `endTime` is exclusive.\n"]]