mirror of
https://github.com/eclipse-sailing-analytics/sailing-analytics.git
synced 2026-09-26 15:36:40 +00:00
added toString() methods to the TimeRangeModel and TimeRangeWithZoomModel
This commit is contained in:
+5
@@ -57,4 +57,9 @@ public class TimeRangeModel implements TimeRangeProvider {
|
||||
public Date getToTime() {
|
||||
return toTime;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return "TimeRangeModel [fromTime=" + fromTime + ", toTime=" + toTime + "]";
|
||||
}
|
||||
}
|
||||
|
||||
+6
@@ -56,4 +56,10 @@ public class TimeRangeWithZoomModel extends TimeRangeModel implements TimeRangeW
|
||||
public boolean isZoomed() {
|
||||
return isTimeZoomed;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return "TimeRangeWithZoomModel [fromTime=" + fromTime + ", toTime=" + toTime + ", zoomStartTimepoint=" + zoomStartTimepoint + ", zoomEndTimepoint="
|
||||
+ zoomEndTimepoint + ", isTimeZoomed=" + isTimeZoomed + "]";
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user