Skip to content
Snippets Groups Projects
Commit d4e7b7e0 authored by Mail Ladjali's avatar Mail Ladjali
Browse files

tpoo-03::exo-Task

parent b6a55db1
Branches
Tags
No related merge requests found
src/.DS_Store
src/.DS_Store
src/.DS_Store
src/.DS_Store
src/.DS_Store
No preview for this file type
public enum TaskStatus{
TODO, ONGOING, DELAYED, FINISHED
}
class Task{
private int idTask;
private LocalDate creationDate;
private LocalDate deadline;
private TaskStatus state;
private String description;
private int duration;
}
\ No newline at end of file
...@@ -4,10 +4,10 @@ class UseLocalDate{ ...@@ -4,10 +4,10 @@ class UseLocalDate{
public int dayOfMonth; public int dayOfMonth;
public static UseLocalDate now(){ public static LocalDate now(){
return ; return ;
} }
public UseLocalDate of(int year, int month, int dayOfMonth){ public LocalDate of(int year, int month, int dayOfMonth){
this.year= year; this.year= year;
this.month= month; this.month= month;
this.dayOfMonth= dayOfMonth; this.dayOfMonth= dayOfMonth;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment