import java.util.*;
public class TestDate 
{
public static void main(String[] args) 
{
Date d1=new Date();
System.out.println(d1);
Date d2=new Date(3600000);
System.out.println(d2);
}
}
以上输出结果如下:Sat Aug 01 16:08:58 CST 2009
                 Thu Jan 01 09:00:00 CST 1970
当调用Date d2=new Date(3600000);时,不是默认在1970年1月1日0时0分0秒的基础上加上3600000毫秒吗???3600000毫秒=1小时,所以输出不应是Thu Jan 01 01:00:00 CST 1970吗?如果输出结果是Thu Jan 01 09:00:00 CST 1970的话,不就是默认在1970年1月1日8时0分0秒的基础上加上3600000毫秒了吗?请牛人解释一下,谢谢...