Fixed incorrect javadoc

Improper javadoc description of the Interval's withPeriodBeforeEnd and withDurationBeforeEnd methods