STOCKHOLDERS' EQUITY (Tables)
3 Months Ended
Apr. 30, 2018
Stockholders' Equity Note [Abstract]  
Summary of components of accumulated other comprehensive income (loss)
The following table summarizes changes in the components of our accumulated other comprehensive income (loss) by component for the three months ended April 30, 2018:
(in thousands)
 
Unrealized Gains (Losses) on Foreign Exchange Contracts Designated as Hedges
 
Unrealized Gain on Interest Rate Swap Designated as Hedge
 
Foreign Currency Translation Adjustments
 
Total
Accumulated other comprehensive income (loss) at January 31, 2018
 
$
3,312

 
$

 
$
(106,772
)
 
$
(103,460
)
Other comprehensive (loss) income before reclassifications
 
(6,114
)
 
220

 
(13,677
)
 
(19,571
)
Gains reclassified out of accumulated other comprehensive income (loss)
 
390

 

 

 
390

Net other comprehensive (loss) income, current period
 
(6,504
)
 
220

 
(13,677
)
 
(19,961
)
Accumulated other comprehensive (loss) income at April 30, 2018
 
$
(3,192
)
 
$
220

 
$
(120,449
)
 
$
(123,421
)


Schedule of amounts reclassified out of accumulated other comprehensive income (loss) into the statement of operations by location
The amounts reclassified out of accumulated other comprehensive income (loss) into the condensed consolidated statement of operations, with presentation location, for the three months ended April 30, 2018 and 2017 were as follows:
 
 
Three Months Ended
April 30,
 
 
(in thousands)
 
2018
 
2017
 
Location
Unrealized gains on derivative financial instruments:
 
 
 
 
 
 
Foreign currency forward contracts
 
$
37

 
$
86

 
Cost of product revenue
 
 
40

 
75

 
Cost of service and support revenue
 
 
220

 
482

 
Research and development, net
 
 
136

 
278

 
Selling, general and administrative
 
 
433

 
921

 
Total, before income taxes
 
 
(43
)
 
(92
)
 
Provision for income taxes
 
 
$
390

 
$
829

 
Total, net of income taxes