XML 65 R53.htm IDEA: XBRL DOCUMENT v3.21.2
Derivative Financial Instruments and Hedging Activities (Fair Value of Derivative Instruments Recorded on Consolidated Statements of Operations) (Details) - Cost of revenue - USD ($)
$ in Thousands
3 Months Ended 9 Months Ended
May 31, 2021
May 31, 2020
May 31, 2021
May 31, 2020
Derivative Instruments, Gain (Loss) [Line Items]        
Foreign currency (losses) gains $ (21,500) $ 36,900 $ (120,600) $ 400
Forward foreign exchange contracts        
Derivative Instruments, Gain (Loss) [Line Items]        
Amount of Gain (Loss) Recognized in Net Income on Derivatives $ 27,212 $ (36,955) $ 147,655 $ (3,436)