Annual report pursuant to Section 13 and 15(d)

DERIVATIVE INSTRUMENTS AND HEDGING ACTIVITIES - Additional Information (Details)

v3.21.2
DERIVATIVE INSTRUMENTS AND HEDGING ACTIVITIES - Additional Information (Details) - USD ($)
12 Months Ended
Jun. 30, 2021
Jun. 30, 2020
Jun. 30, 2019
Mar. 31, 2020
Feb. 29, 2020
Jan. 31, 2020
Jun. 30, 2018
Dec. 31, 2014
Nov. 30, 2014
Oct. 31, 2014
Derivative                    
Reclassification adjustments for net (gains) losses included in net income $ 181,000 $ (2,072,000) $ (4,018,000)              
2020 Senior Notes | Senior notes                    
Derivative                    
Debt instrument, face amount         $ 750,000,000.0          
Stated interest rate 3.30%       3.30%          
2014 Senior Notes | Senior notes                    
Derivative                    
Debt instrument, face amount                 $ 2,500,000,000 $ 1,250,000,000
Stated interest rate 4.65%                 4.65%
2014 Rate Lock Agreements                    
Derivative                    
Reclassification adjustments for net (gains) losses included in net income $ (1,100,000) $ (600,000) $ 500,000              
Derivatives designated as hedging instruments | Cash Flow Hedging | Maximum                    
Derivative                    
Term of contract 18 months                  
Derivatives designated as hedging instruments | Cash Flow Hedging | 2020 Rate Lock Agreements | 2020 Senior Notes                    
Derivative                    
Derivative, notional amount           $ 350,000,000.0        
Cash flow hedges derivative at fair value       $ 21,500,000            
Derivatives designated as hedging instruments | Cash Flow Hedging | 2018 Rate Lock Agreements                    
Derivative                    
Derivative, notional amount             $ 500,000,000.0      
Cash flow hedges derivative at fair value             $ 13,600,000      
Derivatives designated as hedging instruments | Cash Flow Hedging | 2014 Rate Lock Agreements                    
Derivative                    
Unamortized portion of the fair value of derivative contracts $ (29,000,000.0)                  
Derivatives designated as hedging instruments | Cash Flow Hedging | 2014 Rate Lock Agreements | 2014 Senior Notes                    
Derivative                    
Derivative, notional amount                   $ 1,000,000,000.00
Cash flow hedges derivative at fair value               $ 7,500,000