Added additional comments to RestInterval.java