给定两个时间,计算两个时间相差多少天。不能使用java自带工具类。一年为365天。 1\3\5\7\8\10\12 31 2 28 其他 30 public static int count(int y1, int m1, int d1, int y2, int m2, int d2) { }