APL/APL2.1/TP04/Lendemains/Lendemains.java

10 lines
294 B
Java
Raw Normal View History

2022-02-08 17:20:59 +01:00
public class Lendemains {
public static void main(String[] args) {
MyDate date = new MyDate(2002, 12, 31);
MyDate tomorrow = date.tomorrow();
System.out.println(date);
System.out.println(tomorrow);
System.out.println(date.isEqual(tomorrow));
}
}