v3.24.1.1.u2
Accumulated Other Comprehensive Loss (Details) - USD ($)
$ in Thousands
3 Months Ended 9 Months Ended
May 31, 2024
May 31, 2023
May 31, 2024
May 31, 2023
Aug. 31, 2023
Foreign currency translation          
Beginning balance $ (1,534,213) $ (1,655,527) $ (1,510,632) $ (1,852,320)  
Foreign currency translation (59,999) 12,897 (85,286) 217,607  
Income tax benefit (expense) 2,088 1,152 3,314 (1,479)  
Portion attributable to noncontrolling interests 2,229 (797) 2,709 (6,083)  
Foreign currency translation, net of tax (55,682) 13,252 (79,263) 210,045  
Ending balance (1,589,895) (1,642,275) (1,589,895) (1,642,275)  
Defined benefit plans          
Beginning balance (184,873) (250,552) (226,503) (348,771)  
Reclassifications into net periodic pension and post-retirement expense 6,529 8,712 57,337 143,602  
Income tax benefit (expense) (1,650) (1,984) (10,787) (38,552)  
Portion attributable to noncontrolling interests (3) (6) (44) (109)  
Defined benefit plans, net of tax 4,876 6,722 46,506 104,941  
Ending balance (179,997) (243,830) (179,997) (243,830)  
Cash flow hedges          
Beginning balance 61,946 (38,191) (5,966) 10,749  
Unrealized gain (loss) (47,583) 25,722 49,792 (66,994)  
Reclassification adjustments into Cost of services (10,163) 4,115 (25,609) 24,721  
Income tax benefit (expense) 10,401 (6,440) (3,549) 16,679  
Portion attributable to noncontrolling interests 47 (24) (20) 27  
Cash flow hedges, net of tax (47,298) 23,373 20,614 (25,567)  
Ending Balance 14,648 (14,818) 14,648 (14,818)  
Accumulated other comprehensive loss $ (1,755,244) $ (1,900,923) (1,755,244) $ (1,900,923) $ (1,743,101)
Net unrealized gains expected to be reclassified in the next twelve months     $ 25,093