Skip to content
This repository was archived by the owner on Nov 29, 2018. It is now read-only.
This repository was archived by the owner on Nov 29, 2018. It is now read-only.

It should not be possible to create time frames with min=max #12

@jzernisch

Description

@jzernisch

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions