Create IntervalImpl.java