package seedu.address.model.task;

import java.time.ZonedDateTime;

public class StartEndDateTime {

    private ZonedDateTime startDateTime;
    private ZonedDateTime endDateTime;

    public StartEndDateTime(ZonedDateTime startDateTime, ZonedDateTime endDateTime) {
        assert startDateTime != null && endDateTime != null;

        // TODO check if endDateTime > startDateTime, this means endDateTime != startDateTime as well
        this.startDateTime = startDateTime;
        this.endDateTime = endDateTime;
    }

    public ZonedDateTime getStartDateTime() {
        return startDateTime;
    }

    public ZonedDateTime getEndDateTime() {
        return endDateTime;
    }

}

@@ -175,16 +175,61 @@
 eTime;%0A%0A
+    // TODO add throws IllegalValueException%0A
     publ

Add TODO error checking in StartEndDateTime