我正在使用XStream将包含日期字段的对象序列化为XML,然后再返回。但是,写入XML的日期比我创建的实际日期早一个小时。MyComplexObjecto=newMyComplexObject();o.addChild(newMyComplexObjectChild(2,{0.1,0.1,0.2,0.3,0.5},newDate(1111111111));System.out.println(newDate(1111111111));//TueJan1321:38:31GMT1970//serializeusingXStream这是输出的XML:20.10.10.20.30.5197