Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- input = JOptionPane.showInputDialog("For which year would you like to "
- + "check the date of thanksgiving?");
- start = Integer.parseInt(input);
- Date thanks = test.getThanksgiving(start);
- String thanksgiving = thanks.getLongDate();
- System.out.println("In " + start + ", Thanksgiving will be on "
- + thanksgiving + ".\n");
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement