XML 49 R38.htm IDEA: XBRL DOCUMENT v3.7.0.1
Cash, Trading Securities and Foreign Currency Forward Contracts' Cost, Gross Unrealized Gains, Gross Unrealized Losses and Fair Value Recorded as Cash and Cash Equivalents, Current Portion of Current Marketable Securities, Non-Current Marketable Securities, or Other Accrued Liabilities (Parenthetical) (Detail) - USD ($)
$ in Thousands
3 Months Ended 9 Months Ended
Jan. 31, 2017
Jan. 31, 2016
Jan. 31, 2017
Jan. 31, 2016
Apr. 30, 2016
Investment Holdings [Line Items]          
Obligations for which assets are held in trust $ 135,600   $ 135,600   $ 138,800
Gain (loss) on marketable securities $ 3,900 $ (7,100) $ 7,090 $ (8,904)