public void readInput( )
    {
        boolean tryAgain = true;
        while (tryAgain)
        {
            System.out.println("Enter month, day, and year.");
              System.out.println("Do not use a comma.");
            String monthInput = input.next( );
            int dayInput = input.nextInt( );
            int yearInput = input.nextInt( );
            if (dateOK( dayInput, monthInput, yearInput) )
            {
                setDate( dayInput, monthInput, yearInput);
                tryAgain = false;
            }
            else
                System.out.println("Illegal date. Reenter input.");
         }
    }