APL/APL2.1/TP05/Periode/Periode.java

9 lines
265 B
Java
Raw Normal View History

2022-02-08 17:20:59 +01:00
public class Periode {
public static void main(String[] args) {
MyDate date1 = new MyDate(2002, 05, 29);
MyDate date2 = new MyDate(2022, 05, 29);
MyPeriod p = new MyPeriod(date1, date2);
System.out.println(p.toString());
}
}