Skip to content
Snippets Groups Projects
Commit 7e0f4eb7 authored by Hugo Debuyser's avatar Hugo Debuyser
Browse files

tp2 non fini

parent 87c98547
Branches
No related tags found
No related merge requests found
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
}
package tp02;
package tpQU;
/**
*
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment