Quarterly report pursuant to Section 13 or 15(d)

Derivative Instruments and Hedging Activities - Locations and Amounts of Designated and Non-Designated Derivative's Gains and Losses (Details)

v3.19.3
Derivative Instruments and Hedging Activities - Locations and Amounts of Designated and Non-Designated Derivative's Gains and Losses (Details) - USD ($)
$ in Thousands
3 Months Ended
Sep. 30, 2019
Sep. 30, 2018
Derivative Instruments    
Revenues $ 1,413,414 $ 1,093,260
Costs of revenues and operating expenses 1,003,166  
Costs of revenues 604,241 381,387
Interest expense 40,350 26,362
Other expense (income), net (1,618) (10,025)
Amount of gains (losses) reclassified from accumulated OCI to earnings (1,527)  
Amount of gains (losses) reclassified from accumulated OCI to earnings   1,037
Rate lock contracts | Revenues    
Derivative Instruments    
Amount of gains (losses) reclassified from accumulated OCI to earnings 0  
Rate lock contracts | Cost of Revenues and Operating Expenses    
Derivative Instruments    
Amount of gains (losses) reclassified from accumulated OCI to earnings 0  
Rate lock contracts | Interest Expense    
Derivative Instruments    
Amount of gains (losses) reclassified from accumulated OCI to earnings (99)  
Rate lock contracts | Other Expense (Income), Net    
Derivative Instruments    
Amount of gains (losses) reclassified from accumulated OCI to earnings 0  
Foreign exchange contracts | Revenues    
Derivative Instruments    
Amount of gains (losses) reclassified from accumulated OCI to earnings 475  
Amount of gains (losses) reclassified from accumulated OCI to earnings   983
Amount excluded from the assessment of effectiveness recognized in earnings based on an amortization approach (102)  
Amount excluded from the assessment of effectiveness recognized in earnings based on an amortization approach   0
Amount excluded from the assessment of effectiveness 0 0
Amount of gains (losses) recognized in earnings 0  
Foreign exchange contracts | Cost of Revenues and Operating Expenses    
Derivative Instruments    
Amount of gains (losses) reclassified from accumulated OCI to earnings (1,801)  
Amount excluded from the assessment of effectiveness recognized in earnings based on an amortization approach 0  
Amount excluded from the assessment of effectiveness 0  
Foreign exchange contracts | Cost of Revenues    
Derivative Instruments    
Amount of gains (losses) reclassified from accumulated OCI to earnings   (134)
Amount excluded from the assessment of effectiveness recognized in earnings based on an amortization approach   0
Amount excluded from the assessment of effectiveness   0
Amount of gains (losses) recognized in earnings 0  
Foreign exchange contracts | Interest Expense    
Derivative Instruments    
Amount of gains (losses) reclassified from accumulated OCI to earnings 0  
Amount of gains (losses) reclassified from accumulated OCI to earnings   188
Amount excluded from the assessment of effectiveness recognized in earnings based on an amortization approach 0  
Amount excluded from the assessment of effectiveness recognized in earnings based on an amortization approach   0
Amount excluded from the assessment of effectiveness 0 0
Amount of gains (losses) recognized in earnings 0  
Foreign exchange contracts | Other Expense (Income), Net    
Derivative Instruments    
Amount of gains (losses) reclassified from accumulated OCI to earnings 0  
Amount of gains (losses) reclassified from accumulated OCI to earnings   0
Amount excluded from the assessment of effectiveness recognized in earnings based on an amortization approach 0  
Amount excluded from the assessment of effectiveness recognized in earnings based on an amortization approach   0
Amount excluded from the assessment of effectiveness 0 229
Amount of gains (losses) recognized in earnings $ 2,325  
Derivatives designated as hedging instruments | Rate lock contracts | Revenues    
Derivative Instruments    
Amount of gains (losses) reclassified from accumulated OCI to earnings   0
Derivatives designated as hedging instruments | Rate lock contracts | Cost of Revenues    
Derivative Instruments    
Amount of gains (losses) reclassified from accumulated OCI to earnings   0
Derivatives designated as hedging instruments | Rate lock contracts | Interest Expense    
Derivative Instruments    
Amount of gains (losses) reclassified from accumulated OCI to earnings   0
Derivatives designated as hedging instruments | Rate lock contracts | Other Expense (Income), Net    
Derivative Instruments    
Amount of gains (losses) reclassified from accumulated OCI to earnings   0
Derivatives not designated as hedging instruments | Foreign exchange contracts | Revenues    
Derivative Instruments    
Amount of gains (losses) recognized in earnings   0
Derivatives not designated as hedging instruments | Foreign exchange contracts | Cost of Revenues    
Derivative Instruments    
Amount of gains (losses) recognized in earnings   0
Derivatives not designated as hedging instruments | Foreign exchange contracts | Interest Expense    
Derivative Instruments    
Amount of gains (losses) recognized in earnings   0
Derivatives not designated as hedging instruments | Foreign exchange contracts | Other Expense (Income), Net    
Derivative Instruments    
Amount of gains (losses) recognized in earnings   $ 3,763