public static void getTime() {
SimpleDateFormat sdf = new SimpleDateFormat( "yyyy-MM-dd HH:mm:ss");
Time t1 = new Time(Long.parseLong("1369213412435"));
Time t2 = new Time(Long.parseLong("1369213412245"));
System.out.println(sdf.format(t1));
System.out.println(sdf.format(t2));
}
为什么上面的代码打印出来,
2013-05-22 17:03:32
2013-05-22 17:03:32