XML 40 R29.htm IDEA: XBRL DOCUMENT v3.5.0.2
New Accounting Pronouncements (Details) - USD ($)
$ / shares in Units, $ in Thousands
3 Months Ended
Jul. 31, 2016
Jul. 31, 2015
Apr. 30, 2016
Accounting Changes and Error Corrections [Abstract]      
Excess tax benefit related to stock-based compensation $ 900    
New Accounting Pronouncement, Early Adoption [Line Items]      
Reclassification from operating activities (32,947) $ (17,655)  
Reclassification to financing activities $ (4,276) $ 1,119  
Basic (in usd per share) $ 1.33 $ 0.94  
Diluted (in usd per share) 1.32 $ 0.92  
Accounting Standards Update 2016-09 [Member] | New Accounting Pronouncement, Early Adoption, Effect [Member]      
New Accounting Pronouncement, Early Adoption [Line Items]      
Reclassification from operating activities   $ 2,600  
Reclassification to financing activities   $ 2,600  
Basic (in usd per share) 0.06    
Diluted (in usd per share) $ 0.06    
Accounting Standards Update 2015-03 [Member] | Other Noncurrent Assets [Member]      
New Accounting Pronouncements or Change in Accounting Principle [Line Items]      
Reclassification of debt issuance costs     $ (300)
Accounting Standards Update 2015-03 [Member] | Long-term Debt [Member]      
New Accounting Pronouncements or Change in Accounting Principle [Line Items]      
Reclassification of debt issuance costs     $ 300