Basic time-based tumbling window implementation.