XML 65 R53.htm IDEA: XBRL DOCUMENT v3.21.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, 2021
May 31, 2020
May 31, 2021
May 31, 2020
Reclassification Adjustment out of Accumulated Other Comprehensive Income on Derivatives [Line Items]        
Interest and foreign exchange $ 10,204 $ 7,562 $ 30,875 $ 33,023
Total before tax (10,742) (59,250) 37,770 (114,009)
Income tax (6,914) 24,421 (35,998) 37,878
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 1,853 2,494 5,119 3,131
Income tax (464) (649) (1,215) (809)
Net of tax 1,389 1,845 3,904 2,322
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 546 1,711 1,218 1,812
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 $ 1,307 $ 783 $ 3,901 $ 1,319