in your tester class add .getLongDate() (or .getMediumDate() or getShortDate(), doesn't matter) to this statement System.out.println(thanksgiving.getThanksgiving(year)) ;
so you get System.out.println(thanksgiving.getThanksgiving(year).getLongDate()) ;
before, you were just printing the 'Date' object created which just prints gibberish.