// This program creates an object of class Date representing Christmas Day
// 2000, then moves the day field on by 1, and then outputs the new date.
// Barry Cornelius, 19 June 2000
public class NoelProg
{
   public static void main(final String[] pArgs)
   {
      final Date tNoelDate = new Date(2000, 12, 25);
      final int tDay = tNoelDate.getDay();
      tNoelDate.setDay(tDay + 1);
      System.out.println(tNoelDate.toString());
      System.out.println(tNoelDate);
   }
}

