XML 64 R53.htm IDEA: XBRL DOCUMENT v3.19.1
Accumulated Other Comprehensive Loss - Amounts Reclassified out of Accumulated Other Comprehensive Loss (Detail) - USD ($)
$ in Thousands
3 Months Ended 6 Months Ended
Feb. 28, 2019
Feb. 28, 2018
Feb. 28, 2019
Feb. 28, 2018
Reclassification Adjustment out of Accumulated Other Comprehensive Income on Derivatives [Line Items]        
Interest and foreign exchange $ 9,237 $ 7,029 $ 13,641 $ 14,049
Total before tax (8,817) (53,841) (40,867) (108,263)
Income tax benefit 2,248 (11,301) 11,383 6,834
Unrealized (Gain) Loss on Derivative Financial Instruments | Reclassification out of Accumulated Other Comprehensive loss        
Reclassification Adjustment out of Accumulated Other Comprehensive Income on Derivatives [Line Items]        
Total before tax 920 (440) 1,552 (784)
Income tax benefit (219) 103 (382) 119
Net of tax 701 (337) 1,170 (665)
Unrealized (Gain) Loss on Derivative Financial Instruments | Reclassification out of Accumulated Other Comprehensive loss | Foreign Exchange Contracts        
Reclassification Adjustment out of Accumulated Other Comprehensive Income on Derivatives [Line Items]        
Revenue and Cost of revenue 769 (546) 1,257 (1,057)
Unrealized (Gain) Loss on Derivative Financial Instruments | Reclassification out of Accumulated Other Comprehensive loss | Interest rate swap contracts        
Reclassification Adjustment out of Accumulated Other Comprehensive Income on Derivatives [Line Items]        
Interest and foreign exchange $ 151 $ 106 $ 295 $ 273