QueryLocationByTime<C extends GpsPointsView<P>, P extends GpsPoint> constructor

QueryLocationByTime<C extends GpsPointsView<P>, P extends GpsPoint>(
  1. GpsTime time,
  2. int? toleranceSeconds
)

Creates the query with time indicating at what time we want to find a location. The optionsl toleranceSeconds, if provided, allows finding a location that is nearest to time, within +/- the tolerance if no exact match is identified.

Implementation

QueryLocationByTime(GpsTime time, int? toleranceSeconds)
    : _time = time,
      _toleranceSeconds = toleranceSeconds;