Skip to content
Snippets Groups Projects
Select Git revision
  • 2cf6322a672d63adf0a64c34d9117c05ea116cc6
  • main default protected
2 results

README.md

Blame
  • Event.java 978 B
    package tpQU;
    
    import java.time.LocalDate;
    
    import tpOO.tp03.ToDoList;
    
    /**
     * @author Hugo Debuyser
     */
    
    public class Event {
        //Attributes
        private String label;
        private String place;
        private LocalDate start;
        private LocalDate end;
        private ToDoList tasks;
    
        //Constructor
        Event(String label, String place, LocalDate start, LocalDate end, ToDoList tasks){
            this.label = label;
            this.place = place;
            this.start = start;
            this.end = end;
            this.tasks = tasks;
        }
    
        Event(String label, String place, LocalDate start, LocalDate end){
            this.label = label;
            this.place = place;
            this.start = start;
            this.end = end;
        }
        Event(String label, String place, LocalDate start){
            this.label = label;
            this.place = place;
            this.start = start;
        }
        Event(String label, String place){
            this.label = label;
            this.place = place;
        }
    
        //methods
    }