class SlidingTimeWindowMovingAverages implements MovingAverages {

    int calculateIndexOfTick(Instant tickTime) {
        return (int) (Duration.between(bucketBaseTime, tickTime).toNanos() / TICK_INTERVAL);
    }

    public  SlidingTimeWindowMovingAverages();
    public  SlidingTimeWindowMovingAverages(Clock clock);

}