Determine the day of the week for new year''s day
Course:- JAVA Programming
Reference No.:- EM13295

Assignment Help
Expertsmind Rated 4.9 / 5 based on 47215 reviews.
Review Site
Assignment Help >> JAVA Programming

Write a program that evaluates the day of the week for New Year's Day in the year 3000. To do this, you must create your own date class (MyDate).

• Implement a new yesterday() function which moves the date one day backwards. Modify your main program to print the date, including the day of the week, for January 1st, 1800. (Hint: back up to December 31st, 1799, and then call tomorrow() once.)

• Using UML, prepare a high level design (a.k.a. architecture) of your program before implementation. Include your design (architecture) as an appendix to your Word document submission. Project include a simple use case diagram, class diagram and sequence diagram for all methods.

Put your comment

Ask Question & Get Answers from Experts
Browse some more (JAVA Programming) Materials
Constructors use the same exception handling rules as methods: In a try block, include the parsing of the month and day substrings and other error-checking logic that will n
Write a program to prepare the monthly charge account statement for a customer of CS CARD International, a credit card company. The program should take as input the previous b
writing a simple Java program that implements an algorithm known as a Bubble Sort. A Bubble Sort is a simple sorting algorithm that takes an unsorted array of elements and sor
According to the text, the Federal Acquisition Regulation (FAR) is a body of law that governs U.S. Federal Government's procurement process. The FAR is prepared, issued and ma
Write a Java program to simulate a lottery drawing. Your program should allow the user to enter values for k, n, and m above. Then, ask the user to enter the numbers that
Suppose a system uses ACLs to maintain its protection matrix. Write a set of management functions to manage the ACLs when (1) a new object is created; (2) an object is delet
Write a code fragment to declare and create twoAccountobjects named acc1 andacct2. Initialize the balance to $300 and $500, respectively. Set the name of owner for both acco
Write a program that will calculate monthly pay and expenses for a commercial utility sales person. Sales employees in this company are paid monthly. Each employee is paid a b