public void setInterval ( ReadableInterval interval ) { if ( interval == null ) { throw new IllegalArgumentException ( "Interval must not be null" ) ; } long startMillis = interval . getStartMillis ( ) ; long endMillis = interval . getEndMillis ( ) ; Chronology chrono = interval . getChronology ( ) ; super . setInterval ( startMillis , endMillis , chrono ) ; }
Sets this interval to be the same as another .