XML 63 R51.htm IDEA: XBRL DOCUMENT v3.5.0.2
Effect of Derivative Instruments on Statements of Income (Detail) - Cash Flow Hedging - USD ($)
$ in Thousands
9 Months Ended
May 31, 2016
May 31, 2015
Derivative Instruments, Gain (Loss) [Line Items]    
Gain (loss) recognized in income on derivatives $ (157) $ 47
Gain (loss) recognized in OCI on derivatives (effective portion) (8,623) (773)
Gain (loss) Reclassified from Accumulated OCI into Income (Effective Portion) (2,450) (831)
Gain (loss) Recognized on Derivative (Ineffective portion and Amount Excluded from Effectiveness Testing) 2,660 1,024
Foreign Exchange Forward    
Derivative Instruments, Gain (Loss) [Line Items]    
Gain (loss) recognized in OCI on derivatives (effective portion) (5,430) 1,867
Foreign Exchange Forward | Interest and Foreign Exchange    
Derivative Instruments, Gain (Loss) [Line Items]    
Gain (loss) recognized in income on derivatives (245) (22)
Foreign Exchange Forward | Sales    
Derivative Instruments, Gain (Loss) [Line Items]    
Gain (loss) Reclassified from Accumulated OCI into Income (Effective Portion) (835) 518
Gain (loss) Recognized on Derivative (Ineffective portion and Amount Excluded from Effectiveness Testing) 2,572 1,024
Foreign Exchange Forward | Cost Of Revenue    
Derivative Instruments, Gain (Loss) [Line Items]    
Gain (loss) recognized in OCI on derivatives (effective portion) (919)  
Gain (loss) Reclassified from Accumulated OCI into Income (Effective Portion) (412)  
Gain (loss) Recognized on Derivative (Ineffective portion and Amount Excluded from Effectiveness Testing) 88  
Interest rate swap contracts    
Derivative Instruments, Gain (Loss) [Line Items]    
Gain (loss) recognized in OCI on derivatives (effective portion) (2,274) (2,640)
Interest rate swap contracts | Interest and Foreign Exchange    
Derivative Instruments, Gain (Loss) [Line Items]    
Gain (loss) recognized in income on derivatives 88 69
Gain (loss) Reclassified from Accumulated OCI into Income (Effective Portion) $ (1,203) $ (1,349)