DateTimeInterval
Biểu thị một khoảng thời gian giữa hai điểm DateTime.
Trường timeZone của cả startTime và endTime phải khớp.
Biểu diễn dưới dạng JSON |
{
"startTime": {
object (DateTime )
},
"endTime": {
object (DateTime )
}
} |
Các trường |
startTime |
object (DateTime )
Điểm dữ liệu bắt đầu của khoảng thời gian (bao gồm). Múi giờ của điểm kết thúc phải khớp với múi giờ của điểm bắt đầu.
|
endTime |
object (DateTime )
Điểm dữ liệu kết thúc của khoảng thời gian (độc quyền). Múi giờ của điểm kết thúc phải khớp với múi giờ của điểm bắt đầu.
|
Trừ phi có lưu ý khác, nội dung của trang này được cấp phép theo Giấy phép ghi nhận tác giả 4.0 của Creative Commons và các mẫu mã lập trình được cấp phép theo Giấy phép Apache 2.0. Để biết thông tin chi tiết, vui lòng tham khảo Chính sách trang web của Google Developers. Java là nhãn hiệu đã đăng ký của Oracle và/hoặc các đơn vị liên kết với Oracle.
Cập nhật lần gần đây nhất: 2022-12-20 UTC.
[null,null,["Cập nhật lần gần đây nhất: 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"]]