Very strange long assignment issue

2011-02-25 Thread shahid
I have the following piece of test code in my application (using GWT 2.1.0): Date expiry = new Date(); long expiryTime = expiry.getTime(); expiryTime = expiryTime + (1000 * 60 * 60 * 24 * 90); // 90 days When I debug this

Re: Very strange long assignment issue

2011-02-25 Thread Hilco Wijbenga
On 25 February 2011 15:06, shahid shahidza...@gmail.com wrote: I have the following piece of test code in my application (using GWT 2.1.0):                        Date expiry = new Date();                        long expiryTime  = expiry.getTime();                        expiryTime =

Re: Very strange long assignment issue

2011-02-25 Thread shahid
Thanks Hilco. On Feb 25, 5:33 pm, Hilco Wijbenga hilco.wijbe...@gmail.com wrote: On 25 February 2011 15:06, shahid shahidza...@gmail.com wrote: I have the following piece of test code in my application (using GWT 2.1.0):                        Date expiry = new Date();