Share-Based Compensation - Summary of Stock Option Activity (Detail) (USD $)
In Thousands, except Share data, unless otherwise specified
9 Months Ended 12 Months Ended
Mar. 31, 2015
Jun. 30, 2014
Disclosure of Compensation Related Costs, Share-based Payments [Abstract]    
Outstanding at June 30, 2014, Shares 1,419,598  
Granted, Shares 6,459  
Exercised, Shares (414,623)  
Forfeited or expired, Shares (81,641)  
Outstanding at March 31, 2015, Shares 929,793 1,419,598
Exercisable at March 31, 2015, Shares 538,689  
Outstanding at June 30, 2014, Weighted Average Exercise Price Per Share $ 65.90  
Granted, Weighted Average Exercise Price Per Share $ 120.31  
Exercised, Weighted Average Exercise Price Per Share $ 57.08  
Forfeited or expired, Weighted Average Exercise Price Per Share $ 75.44  
Outstanding at March 31, 2015, Weighted Average Exercise Price Per Share $ 69.38 $ 65.90
Exercisable at March 31, 2015, Weighted Average Exercise Price Per Share $ 75.64  
Outstanding, Weighted Average Remaining Contractual Term (Years) 5 years 9 months 26 days 6 years 8 months 12 days
Exercisable at March 31, 2015, Weighted Average Remaining Contractual Term (Years) 4 years 2 months 9 days  
Outstanding at June 30, 2014, Aggregate Intrinsic Value $ 62,204  
Outstanding at March 31, 2015, Aggregate Intrinsic Value 59,752 62,204
Exercisable at March 31, 2015, Aggregate Intrinsic Value $ 31,238