subject
Computers and Technology, 08.03.2021 19:10 ava1018

For this programming assignment you will be re-using portions of your code from the last assignment as a starting point. You are to create a new DateFileTest class that uses the existing Date Class for the following: Instead of bringing in dates from a user, you will be bringing in dates from a text file. You should use the existing Date class to create date objects from file inputs The data in the file is provided in alternating formats in order from MM/DD/ to Month name, DD, (just those two formats to simplify the input handling and verification). Spaces are used in the file as delimiters between integers and strings in the date format. You will use the file provided here:. Dates in multiple formats.
8 17 1943 April 1 1985 4 27 2010 September 27 2005 12 13 2001 June 5 1075 11 25 1974 December 11 2004 21 14 1980
Your code is to handle exceptions for the following situations;
the file is not found or can't be opened, in which case the program informs the user and ends.
the month is not a valid month (between 1-12), using a try/catch block
the year is not a valid year (assume between 1800-2020 is valid, using a try/catch block)
the entry is not a valid month name (must start with a capital and be spelled correctly as a string)
If any of these exceptions occur, your program must disregard that specific date, output an error message to the display, NOT write that specific date to the file, and continue to move on to process the rest of the data in the file
Your program will create a new text file and write dates out to that file. You will write out all 3 formats (with appropriate / and , delimiters) to the file for each date read in from the file.
Your program files must include a program header that includes your name, course discussion section, and program description. Well structured and commented code are expected. Your submission must include all program files, output text file, and execution screenshots showing your messages from error handling. Submissions without all the files will not receive a grade and no late submissions will be accepted.
CODING IS BASED IN JAVA!
PLEASE POST THE OUTPUT!

ansver
Answers: 2

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 09:00
Meenu wants to create a high quality drawing in a variety of colours. which device should she use for the same?
Answers: 1
question
Computers and Technology, 24.06.2019 09:40
Healthy study habits are best described as
Answers: 1
question
Computers and Technology, 25.06.2019 06:30
How can u permanently delete a picture from your camera ?
Answers: 1
question
Computers and Technology, 25.06.2019 08:10
Spreadsheet software is more powerful than financial planning software. - true or false
Answers: 2
You know the right answer?
For this programming assignment you will be re-using portions of your code from the last assignment...
Questions
question
Mathematics, 10.08.2021 04:50
question
Mathematics, 10.08.2021 04:50
question
Mathematics, 10.08.2021 04:50
Questions on the website: 13722362