public class DayTester
{
   public static void main(String[] args)
   {
      Day today = new Day(2010, 2, 15); // February 15, 2010
      Day later = today.addDays(30);

      System.out.println(later.getYear());
      System.out.println("Expected: 2010");
      System.out.println(later.getMonth());
      System.out.println("Expected: 3");
      System.out.println(later.getDate());
      System.out.println("Expected: 17");
      System.out.println(later.daysFrom(today)); 
      System.out.println("Expected: 30");
   }
}

