Emmanuel, the Date class does not imply any time zone semantics at all. It 
stores a point in time in an abstract way. It took Sun a little while to figure 
that out. This is why all methods in Date that implicitly imply a time zone 
have been  deprecated years ago. The getTime and setTime methods convert this 
abstract representation to a millisecond value based on GMT. Adding a GMT 
time-offset to this value is therefore complete nonsense and a beginner's 
mistake at best.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3924225#3924225

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3924225


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to