public void setPeriodAfterStart ( ReadablePeriod period ) { if ( period == null ) { setEndMillis ( getStartMillis ( ) ) ; } else { setEndMillis ( getChronology ( ) . add ( period , getStartMillis ( ) , 1 ) ) ; } }
Sets the period of this time interval preserving the start instant and using the ISOChronology in the default zone for calculations .