Commit fd0b8825 authored by Greg Messner's avatar Greg Messner
Browse files

Modified to use new Duration class.

parent 32b31ca0
...@@ -10,8 +10,8 @@ public class TimeStats { ...@@ -10,8 +10,8 @@ public class TimeStats {
private Integer timeEstimate; private Integer timeEstimate;
private Integer totalTimeSpent; private Integer totalTimeSpent;
private String humanTimeEstimate; private Duration humanTimeEstimate;
private String humanTotalTimeSpent; private Duration humanTotalTimeSpent;
public Integer getTimeEstimate() { public Integer getTimeEstimate() {
return timeEstimate; return timeEstimate;
...@@ -29,19 +29,19 @@ public class TimeStats { ...@@ -29,19 +29,19 @@ public class TimeStats {
this.totalTimeSpent = totalTimeSpent; this.totalTimeSpent = totalTimeSpent;
} }
public String getHumanTimeEstimate() { public Duration getHumanTimeEstimate() {
return humanTimeEstimate; return humanTimeEstimate;
} }
public void setHumanTimeEstimate(String humanTimeEstimate) { public void setHumanTimeEstimate(Duration humanTimeEstimate) {
this.humanTimeEstimate = humanTimeEstimate; this.humanTimeEstimate = humanTimeEstimate;
} }
public String getHumanTotalTimeSpent() { public Duration getHumanTotalTimeSpent() {
return humanTotalTimeSpent; return humanTotalTimeSpent;
} }
public void setHumanTotalTimeSpent(String humanTotalTimeSpent) { public void setHumanTotalTimeSpent(Duration humanTotalTimeSpent) {
this.humanTotalTimeSpent = humanTotalTimeSpent; this.humanTotalTimeSpent = humanTotalTimeSpent;
} }
} }
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment