public Range getWindowSlotRange() {
        long scanTo = to + getWindowSlotSize();
        return  Range.between(from, scanTo);
    }
converts the timestamp to the matching window slot's reference timestamp

@param timestamp
@return
commons-timeseries/src/main/java/com/navercorp/pinpoint/common/timeseries/window/TimeWindow.java