DateTimeInterval interface

時間間隔,指定內含開始和獨佔結束的日期和時間,亦即 [start, end)

屬性

end

日期時間,表示時間間隔的獨佔/開啟結束,亦即 [start, end) 。指定 end 在之前 start 以時間順序發生的 ,將會產生錯誤。

start

日期時間,表示時間間隔的內含/關閉開始,亦即 [start, end) 。指定 start 在之後以時間順序 end 發生的 ,將會產生錯誤。

屬性詳細資料

end

日期時間,表示時間間隔的獨佔/開啟結束,亦即 [start, end) 。指定 end 在之前 start 以時間順序發生的 ,將會產生錯誤。

end: Date

屬性值

Date

start

日期時間,表示時間間隔的內含/關閉開始,亦即 [start, end) 。指定 start 在之後以時間順序 end 發生的 ,將會產生錯誤。

start: Date

屬性值

Date