Net Income (Loss) per Ordinary Share |
3 Months Ended | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Mar. 31, 2020 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Earnings Per Share [Abstract] | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Net Income (Loss) per Ordinary Share | Net Income (Loss) per Ordinary Share Basic net income (loss) per ordinary share is based on the weighted-average number of ordinary shares outstanding. Diluted net income (loss) per ordinary share is based on the weighted-average number of ordinary shares outstanding and potentially dilutive ordinary shares outstanding. Basic and diluted net income (loss) per ordinary share were computed as follows (in thousands, except per share amounts):
Potentially dilutive ordinary shares from our employee equity incentive and purchase plans and the Exchangeable Senior Notes are determined by applying the treasury stock method to the assumed exercise of share options, the assumed vesting of outstanding restricted stock units, or RSUs, the assumed issuance of ordinary shares under our employee stock purchase plan, or ESPP, and the assumed issuance of ordinary shares upon exchange of the Exchangeable Senior Notes. The potential issue of ordinary shares issuable upon exchange of the Exchangeable Senior Notes had no effect on diluted net income (loss) per ordinary share because the average price of our ordinary shares for the three months ended March 31, 2020 and 2019 did not exceed the effective exchange prices per ordinary share of the Exchangeable Senior Notes. The following table represents the weighted-average ordinary shares that were excluded from the calculation of diluted net income (loss) per ordinary share for the periods presented because including them would have an anti-dilutive effect (in thousands):
|