计算两个时间相差多少天不能使用java工具类一年为365天。
给定两个时间,计算两个时间相差多少天。不能使用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) {
}
给定两个时间,计算两个时间相差多少天。不能使用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) {
}
相关推荐
招聘动态