XML 59 R48.htm IDEA: XBRL DOCUMENT v3.21.4
Derivatives and Hedging - Schedule of Derivatives Instruments for Gains or Losses Initially Recognized in AOCI in Consolidated Balance Sheet (Detail) - Derivatives Designated as Hedging Instruments - USD ($)
$ in Thousands
3 Months Ended 6 Months Ended
Nov. 30, 2021
Nov. 30, 2020
Nov. 30, 2021
Nov. 30, 2020
Derivative Instruments And Hedging Activities Disclosures [Line Items]        
Pretax gain/(loss) recognized in AOCI $ 16,465 $ (1,055) $ 30,179 $ (32,141)
Pretax gain/(loss) reclassified from AOCI into income 3,221 (611) 5,836 (8,642)
Interest Rate Swap | Interest (Expense) Income | Cash Flow        
Derivative Instruments And Hedging Activities Disclosures [Line Items]        
Pretax gain/(loss) recognized in AOCI 868 (149) 832 (747)
Pretax gain/(loss) reclassified from AOCI into income, cash flow (930) (846) $ (1,860) (1,613)
Income Statement Location     Interest (expense) income  
Cross Currency Swap | Interest (Expense) Income | Cash Flow        
Derivative Instruments And Hedging Activities Disclosures [Line Items]        
Pretax gain/(loss) recognized in AOCI 4,157 51 $ 7,604 (7,304)
Pretax gain/(loss) reclassified from AOCI into income, cash flow 138 160 $ 276 351
Income Statement Location     Interest (expense) income  
Cross Currency Swap | Foreign exchange gain (loss) | Cash Flow        
Derivative Instruments And Hedging Activities Disclosures [Line Items]        
Pretax gain/(loss) reclassified from AOCI into income, cash flow 4,013 75 $ 7,420 (7,380)
Income Statement Location     Foreign exchange gain (loss)  
Cross Currency Swap | Gain or (loss) on sale of subsidiary | Net Investment        
Derivative Instruments And Hedging Activities Disclosures [Line Items]        
Pretax gain/(loss) recognized in AOCI $ 11,440 $ (957) $ 21,743 $ (24,090)
Income Statement Location     Gain or (loss) on sale of subsidiary