As long as we don't see a use case for time frames that contain only one point in time, we should not allow to create them, as the are very annoying to work with. The occur when doing intersection operations like
time_frame & time_frame.shift_by(time_frame.duration)
I would prefer to return TimeFrame::EMPTY here.
As long as we don't see a use case for time frames that contain only one point in time, we should not allow to create them, as the are very annoying to work with. The occur when doing intersection operations like
I would prefer to return
TimeFrame::EMPTYhere.