|
Summary of Significant Accounting Policies (Details) (USD $) In Thousands, except Share data, unless otherwise specified
|
3 Months Ended |
9 Months Ended |
|
Mar. 31, 2015
|
Mar. 31, 2014
|
Mar. 31, 2015
|
Mar. 31, 2014
|
| Reconciliation of weighted-average number of ordinary shares |
|
|
|
|
|
|
|
|
| Weighted average shares outstanding, basic |
32,694,354 |
|
33,249,419 |
|
32,537,940 |
|
32,921,016 |
|
| Weighted average shares issuable upon exercise/vesting of outstanding share options/RSUs/RSAs |
1,486,209 |
|
1,107,571 |
|
1,099,627 |
|
1,504,272 |
|
| Shares used in computing diluted net income per share |
34,180,563 |
|
34,356,990 |
|
33,637,567 |
|
34,425,288 |
|
| Weighted average anti-dilutive shares excluded from diluted net income per share |
39,265 |
|
906,850 |
|
380,136 |
|
916,209 |
|
| Other Income and Expenses [Abstract] |
|
|
|
|
|
|
|
|
| Derivative Instruments Not Designated as Hedging Instruments, Gain (Loss), Net |
$ 5,756 |
|
$ (1,086) |
|
$ 13,398 |
|
$ (7,526) |
|
| Foreign Currency Transaction Gain (Loss), Realized |
2,535 |
[1] |
970 |
[1] |
16,884 |
[1] |
(625) |
[1] |
| Other income (expense), net |
$ 8,291 |
|
$ (116) |
|
$ 30,282 |
|
$ (8,151) |
|
|
|
|