SUBSEQUENT EVENTS (Details) - USD ($)
|
|
2 Months Ended |
12 Months Ended |
|
|
Aug. 08, 2019 |
Aug. 19, 2019 |
Jun. 30, 2019 |
Jun. 30, 2018 |
Jun. 30, 2017 |
Aug. 12, 2019 |
Aug. 06, 2019 |
| Subsequent Event [Line Items] |
|
|
|
|
|
|
|
| Repurchase of Common Stock |
|
|
$ 470,448,000
|
$ 445,014,000
|
$ 98,745,000
|
|
|
| Remaining authorization at the end of the period |
|
|
$ 35,800,000
|
$ 306,200,000
|
$ 1,300,000
|
|
|
| Common Stock |
|
|
|
|
|
|
|
| Subsequent Event [Line Items] |
|
|
|
|
|
|
|
| Stock repurchased and retired (in shares) |
|
|
4,733,853
|
7,162,312
|
1,982,411
|
|
|
| Repurchase of Common Stock |
|
|
$ 5,000
|
$ 7,000
|
$ 2,000
|
|
|
| Common Stock | November Repurchase Program |
|
|
|
|
|
|
|
| Subsequent Event [Line Items] |
|
|
|
|
|
|
|
| Stock repurchase program, authorized amount |
|
|
$ 200,000,000
|
|
|
|
|
| Stock repurchased and retired (in shares) |
|
|
1,339,827
|
|
|
|
|
| Repurchase of Common Stock |
|
|
$ 164,200,000
|
|
|
|
|
| Remaining authorization at the end of the period |
|
|
$ 35,800,000
|
|
|
|
|
| Subsequent event |
|
|
|
|
|
|
|
| Subsequent Event [Line Items] |
|
|
|
|
|
|
|
| Dividend, declared (in dollars per share) |
$ 0.30
|
|
|
|
|
|
|
| Subsequent event | Common Stock |
|
|
|
|
|
|
|
| Subsequent Event [Line Items] |
|
|
|
|
|
|
|
| Stock repurchased and retired (in shares) |
|
841,200
|
|
|
|
|
|
| Stock repurchased and retired, average cost per share (in dollars per share) |
|
$ 115.62
|
|
|
|
|
|
| Repurchase of Common Stock |
|
$ 97,300,000
|
|
|
|
|
|
| Subsequent event | Common Stock | August Repurchase Program |
|
|
|
|
|
|
|
| Subsequent Event [Line Items] |
|
|
|
|
|
|
|
| Stock repurchase program, authorized amount |
|
|
|
|
|
|
$ 500,000,000
|
| Remaining authorization at the end of the period |
|
$ 438,500,000
|
|
|
|
|
|
| Subsequent event | Common Stock | November Repurchase Program |
|
|
|
|
|
|
|
| Subsequent Event [Line Items] |
|
|
|
|
|
|
|
| Remaining authorization at the end of the period |
|
|
|
|
|
$ 0
|
|