/Users/johnr/Dropbox/johnrayworth.info/largeFilesOutsideJSR/__IB-Other/Other/IA-Solutions-2019/Nagon/Product/Computer Science IA/src/computer/science/ia/ExerciseDay.java
 1 /*
 2  * To change this license header, choose License Headers in Project Properties.
 3  * To change this template file, choose Tools | Templates
 4  * and open the template in the editor.
 5  */
 6 package computer.science.ia;
 7 
 8 /**
 9  *
10  * @author 14871
11  */
12 public class ExerciseDay {
13     private String date = "not set yet";
14     private double walkTime = -999.99;
15     private double bikeTime = -999.99;
16     private double swimTime = -999.99;
17     
18     public ExerciseDay(){
19         
20     }
21     
22     public ExerciseDay(String date, double walkTime, double bikeTime, double swimTime){
23         this.date = date;
24         this.walkTime = walkTime;
25         this.bikeTime = bikeTime;
26         this.swimTime = swimTime;
27     }
28     
29     
30     
31     
32     
33     public String getDate(){
34         return date;
35     }
36     
37     public double getWalkTime(){
38         return walkTime;
39     }
40     
41     public double getBikeTime(){
42         return bikeTime;
43     }
44     
45     public double getSwimTime(){
46         return swimTime;
47     }
48     
49     
50     
51     
52     
53     public void setDate(String date){
54         this.date = date;
55     }
56     
57     public void setWalkTime(double walkTime){
58         this.walkTime = walkTime;
59     }
60     
61     public void setBikeTime(double bikeTime){
62         this.bikeTime = bikeTime;
63     }
64     
65     public void setSwimTime(double swimTime){
66         this.swimTime = swimTime;
67     }
68     
69     
70 }
71