最近看了一下 java.util.Date类,有些疑惑想请教一下。
java.util.Date 的构造方法 
Date (long)   //参数表示构造的日期对象到1970 年 1 月 1 日 00:00:00 之间相隔的毫秒数。
按照文档的说法, 参数表示构造的日期对象到1970 年 1 月 1 日 00:00:00 之间相隔的毫秒数。
那么 我想这样构造一个类:
   Date  d = new Date(0l);//l是long,不是数字1
   SimpleDateFormat  sdf = new SimpleDateFormat("yyyy-MM-dd hh:mm:ss");
   System.out.println(sdf.format(d));
   以上代码理论上应该输出:1970-01-01 00:00:00;
   但实际输出结果却是:    1970-01-01 08:00:00
为什么是 08:00:00 而不是 00:00:00?