src/main/java/io/reactivex/Observable.java
@CheckReturnValue
    @SchedulerSupport(SchedulerSupport.COMPUTATION)
    public final Observable<Observable<T>> window(long timespan, long timeskip, TimeUnit unit) {
        return window(timespan, timeskip, unit, Schedulers.computation(), bufferSize());
    }
@CheckReturnValue
    @SchedulerSupport(SchedulerSupport.COMPUTATION)
    public final Observable<Observable<T>> window(long timespan, long timeskip, TimeUnit unit) {
        return window(timespan, timeskip, unit, Schedulers.computation(), bufferSize());
    }
@ CheckReturnValue @ SchedulerSupport ( SchedulerSupport . COMPUTATION ) public final Observable < Observable < T > > window ( long timespan , long timeskip , TimeUnit unit ) { return window ( timespan , timeskip , unit , Schedulers . computation ( ) , bufferSize ( ) ) ; }
Returns an Observable that emits windows of items it collects from the source ObservableSource. The resulting
ObservableSource starts a new window periodically, as determined by the {@code timeskip} argument. It emits
each window after a fixed timespan, specified by the {@code timespan} argument. When the source
ObservableSource completes or ObservableSource completes or encounters an error, the resulting ObservableSource emits the
current window and propagates the notification from the source ObservableSource.
<p>
<img width="640" height="335" src="https://raw.github.com/wiki/ReactiveX/RxJava/images/rx-operators/window7.png" alt="">
<dl>
<dt><b>Scheduler:</b></dt>
<dd>This version of {@code window} operates by default on the {@code computation} {@link Scheduler}.</dd>
</dl>

@param timespan
the period of time each window collects items before it should be emitted
@param timeskip
the period of time after which a new window will be created
@param unit
the unit of time that applies to the {@code timespan} and {@code timeskip} arguments
@return an Observable that emits new windows periodically as a fixed timespan elapses
@see <a href="http://reactivex.io/documentation/operators/window.html">ReactiveX operators documentation: Window</a>
Returns an Observable that emits windows of items it collects from the source ObservableSource . The resulting ObservableSource starts a new window periodically as determined by the { @code timeskip } argument . It emits each window after a fixed timespan specified by the { @code timespan } argument . When the source ObservableSource completes or ObservableSource completes or encounters an error the resulting ObservableSource emits the current window and propagates the notification from the source ObservableSource . <p > <img width = 640 height = 335 src = https : // raw . github . com / wiki / ReactiveX / RxJava / images / rx - operators / window7 . png alt = > <dl > <dt > <b > Scheduler : < / b > < / dt > <dd > This version of { @code window } operates by default on the { @code computation } { @link Scheduler } . < / dd > < / dl >