modified timespan.java file