Encapsulate interval functionality in PWD