Select Git revision
-
Hugo Debuyser authoredHugo Debuyser authored
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
}