XML 135 R120.htm IDEA: XBRL DOCUMENT v3.10.0.1
QUARTERLY FINANCIAL INFORMATION (Summary of Reclassifications on Cash Flow Statement) (Details) - USD ($)
$ in Thousands
3 Months Ended 6 Months Ended 9 Months Ended 12 Months Ended
Nov. 30, 2017
Feb. 28, 2018
May 31, 2018
Aug. 31, 2018
Aug. 31, 2017
Aug. 31, 2016
Error Corrections and Prior Period Adjustments Restatement [Line Items]            
Net cash provided by (used in) operating activites $ (10,163) $ 59,079 $ 90,765 $ 119,454 $ 123,021 $ 142,141
Investing Activities:            
Business acquisition, net of cash acquired     (23,895) (23,895)    
Additions to property and equipment (19,752) (46,233) (74,788) (98,109) (135,294) (77,700)
Short-term investments (39,339) (66,388) (72,953) (77,997)    
Proceeds from Settlements of short-term investments   7,643 19,063 45,693    
Deposits for land purchase option agreements     300 (100) (300) (442)
Proceeds from disposal of property and equipment 20 54 93 629 377 86
Net cash provided by (used in) investing activities (59,071) (104,924) (152,180) (153,779) (135,217) (78,175)
Net cash provided by (used in) financing activities (5,296) (21,859) (12,389) (27,817) (21,970) (17,070)
Effect of exchange rate changes on cash, cash equivalents and restricted cash 2,021 (1,142) (985) (6,656) (2,838) (2,777)
Net increase (decrease) in cash, cash equivalents, and restricted cash (72,509) (68,846) (74,789) (68,798) (37,004) 44,119
Cash, cash equivalents, and restricted cash at beginning of period 165,712 165,712 165,712 165,712 202,716 158,597
Cash, cash equivalents, and restricted cash at end of period 93,203 96,866 90,923 96,914 165,712 $ 202,716
Previously Reported [Member]            
Error Corrections and Prior Period Adjustments Restatement [Line Items]            
Net cash provided by (used in) operating activites (10,163) 59,079 90,765      
Investing Activities:            
Business acquisition, net of cash acquired     (23,895)      
Additions to property and equipment (19,752) (46,233) (74,788)      
Deposits for land purchase option agreements     300      
Proceeds from disposal of property and equipment 20 54 93      
Net cash provided by (used in) investing activities (19,732) (46,179) (98,290)      
Net cash provided by (used in) financing activities (5,296) (21,859) (12,389)      
Effect of exchange rate changes on cash, cash equivalents and restricted cash 2,021 (1,142) (985)      
Net increase (decrease) in cash, cash equivalents, and restricted cash (33,170) (10,101) (20,899)      
Cash, cash equivalents, and restricted cash at beginning of period 165,712 165,712 165,712 $ 165,712    
Cash, cash equivalents, and restricted cash at end of period 132,542 155,611 144,813   $ 165,712  
Reclassified [Member]            
Investing Activities:            
Short-term investments (39,339) (66,388) (72,953)      
Proceeds from Settlements of short-term investments   7,643 19,063      
Net cash provided by (used in) investing activities (39,339) (58,745) (53,890)      
Net increase (decrease) in cash, cash equivalents, and restricted cash (39,339) (58,745) (53,890)      
Cash, cash equivalents, and restricted cash at end of period $ (39,339) $ (58,745) $ (53,890)