XML 64 R53.htm IDEA: XBRL DOCUMENT v3.20.2
Accumulated Other Comprehensive Loss - Amounts Reclassified out of Accumulated Other Comprehensive Loss (Detail) - USD ($)
$ in Thousands
3 Months Ended 9 Months Ended
May 31, 2020
May 31, 2019
May 31, 2020
May 31, 2019
Reclassification Adjustment out of Accumulated Other Comprehensive Income on Derivatives [Line Items]        
Interest and foreign exchange $ 7,562 $ 9,770 $ 33,023 $ 23,411
Total before tax (59,250) (43,419) (114,009) (84,286)
Income tax benefit 24,421 13,008 37,878 24,391
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 2,494 391 3,131 1,944
Income tax benefit (649) (85) (809) (468)
Net of tax 1,845 306 2,322 1,476
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 1,711 249 1,812 1,506
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 $ 783 $ 142 $ 1,319 $ 438