forked from upstream-mirrors/OpenTracks
Statistics: used when only the data is needed (instead of passing SegmentStatisticUpdater).
This commit is contained in:
@@ -26,6 +26,7 @@ public record Speed(double speed_mps) {
|
||||
return of(Distance.ofKilometer(speed_kmh), Duration.ofHours(1));
|
||||
}
|
||||
|
||||
//TODO Like Duration.ZERO
|
||||
public static Speed zero() {
|
||||
return of(0.0);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user