XML 52 R40.htm IDEA: XBRL DOCUMENT v3.8.0.1
Financial Instruments - Additional Information (Detail) - USD ($)
1 Months Ended 3 Months Ended 9 Months Ended
Mar. 31, 2017
Jan. 31, 2018
Jan. 31, 2017
Jan. 31, 2018
Jan. 31, 2017
Apr. 30, 2017
Maximum            
Financial Instrument [Line Items]            
Amount included in accumulated other comprehensive income reclassified into interest income (expense), net       $ 100,000    
Not Designated as Hedge Instrument | Foreign Exchange Forward Contracts            
Financial Instrument [Line Items]            
Foreign currency gains (losses)   $ (1,900,000) $ 1,100,000 (4,200,000) $ 1,300,000  
Not Designated as Hedge Instrument | Foreign Exchange Forward Contracts | Other Accrued Liabilities | Derivatives Purchased            
Financial Instrument [Line Items]            
Derivative notional amount   19,700,000   19,700,000   $ 19,400,000
Not Designated as Hedge Instrument | Foreign Exchange Forward Contracts | Other Accrued Liabilities | Derivatives Sold            
Financial Instrument [Line Items]            
Derivative notional amount   57,200,000   57,200,000   $ 70,000,000
Designated as Hedge Instrument | Interest Rate Swap | Cash Flow Hedge            
Financial Instrument [Line Items]            
Derivative notional amount $ 129,800,000 $ 122,000,000   $ 122,000,000    
Derivative, Maturity Date Jun. 15, 2021          
Interest rate 1.919%