001package horstmann.ch03_day3;
002public class DayTester
003{
004        public static void main(String[] args)
005        {
006                Day today = new Day(2001, 2, 3); // February 3, 2001
007                Day later = today.addDays(999);
008                System.out.println(later.getYear()
009                                + "-" + later.getMonth()
010                                + "-" + later.getDate());
011                System.out.println(later.daysFrom(today)); // Prints 999
012        }
013}