2.1.0):
Date expiry = new Date();
long expiryTime = expiry.getTime();
expiryTime = expiryTime + (1000 * 60 * 60 * 24 * 90); // 90 days
When I debug this code in Eclipse and I break at line 3, I can see
that the value of expiryTime is 1298645926486. However after adding
the 90 days milisecs to it, the result works out as 1297831991894
(less than before the addition). I tried to just test the following
line:
long test = 1000;
and when I check the value of test in debug, it is negative. The same
happens to the expiry time. What is going on ?????
--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
No comments:
Post a Comment