Commit eb1c3fea authored by Sören Henning's avatar Sören Henning

public access for next time

parent fb08daef
......@@ -74,11 +74,11 @@ public class EquidistantTimeSeries extends TimeSeries {
return distance;
}
private Instant getNextBeginTime() {
public Instant getNextBeginTime() {
return isEmpty() ? this.begin : super.getEnd().getTime().plus(this.distance);
}
private Instant getNextEndTime() {
public Instant getNextEndTime() {
return isEmpty() ? this.begin : super.getBegin().getTime().minus(this.distance);
}
......
Markdown is supported
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