-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMain.java
More file actions
31 lines (17 loc) · 956 Bytes
/
Copy pathMain.java
File metadata and controls
31 lines (17 loc) · 956 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
public class Main {
public static void main(String[] args) {
//System.out.println(new Date(14, 5, 2016).getWeekDay());
//System.out.println(new Date(14, 2, 2016).getDayInMonth());
//new Date(14, 10, 2016).printCalendar();
//System.out.println(new Date().countDaysBetweenTwoDate(2016, 5, 15, 2016, 1, 1));
// System.out.println(new Date(15, 5, 2016).CANCHI());
// int[] res = new Date(15, 5, 2016).getSolar(9, 4, 2016, 0);
// for (int i : res) {
// System.out.print(i + " / ");
// }
//System.out.println(new Date(15, 5, 2016).getCentury());
long seconds = new Time().getSecondsBetweenTwoDay(new Date(15, 5, 2016), new Date(13, 5, 2016));
long minutes = new Time().getMinutesBetweenTwoDay(new Date(15, 5, 2016), new Date(13, 5, 2016));
long hours = new Time().getHoursBetweenTwoDay(new Date(15, 5, 2016), new Date(13, 5, 2016));
}
}