Update TimeInterval.java

see issue #147