In this project, you should design a Date class and use it to create a calendar application that…

In this project, you should design a Date class and use it to create a calendar application that has many features. You are not limited to the features included in these instructions, feel free to add any other components you find useful. Note: A normal year has 365 days. A leap year has 366 days (the extra day is February 29). In this project, you must take this fact into account. The rules that determine leap years are provided later in these instructions. Design the Date class, to be used in your application, containing: A private data member month of type integer that holds the date’s month. A private data member day of type integer that holds the date’s day. A private data member year of type integer that holds the date’s year. A default constructor that sets the date to January 1, 1753. . . . Accessors for each member variable. . Mutators for each member variable. . . . A member function that prints on the screen a date in the form mm/dd/yyyy. A member function that returns the day name of a date (ex, Sunday, Monday …). Note that the day for January 1 of the year 1753 was a Monday. A member function that prints a date including the name of the day and the name of the month as strings (ex: Tuesday, April 6, 2021). The overloaded subtraction operator ( – ) that returns an integer that is the difference in days between two Date objects. The overloaded increment operator ( ++) that modifies the Date object so that it represents the next day. . . . The overloaded decrement operator (–) that modifies the Date object so that it represents the previous day. The operator must not decrement dates prior to January 1, 1753. Write a program that thoroughly tests your Date class. Consider using the following functions in your program (you can use more functions). The implementations of these functions are left to you; they can be members of the Date class, friends of it, or just regular stand-alone functions. A function that tests whether a year is leap. A function that calculates and returns a date by adding a fixed number of days to the current date. . . . A function that calculates and returns a date by subtracting a fixed number of days from the current date. . A function that returns the number of days passed in the current year. A function that returns the number of days remaining in the current year. A function that prints the calendar for the current month. A function that prints the holidays of any year. . Rules for determining leap years: ? Leap Years are any year that can be exactly divided by 4 (such as 2016, 2020, 2024, etc) * Except if it can be exactly divided by 100, then it isn’t (such as 2100, 2200, 2300, etc) Except if it can be exactly divided by 400, then it is (such as 2000, 2400, 2800, etc) List of US federal holidays: New Year’s Day – January 18 Martin Luther King, Jr. Day – Third Monday of January President’s Day – Third Monday of February Memorial Day – Last Monday of May Independence Day – July 4th Labor Day – First Monday of September Columbus Day – Second Monday of October Veterans Day – November 11th Thanksgiving Day – Fourth Thursday of November Christmas Day – December 25th Enter the number of days to add: 8000 8000 days from now, the date will be Monday, March 16, 2043 CALENDAR MENU A) Set Date B) Display date (mm/dd/yyyy) C) Display date (Weekday, Month day, year) D) Display future date E) Display past date F) Number of days passed in current year G) Number of days remaining in current year H) Compares dates I) Increment current date
Place your order
(550 words)

Approximate price: $22

Calculate the price of your order

550 words
We'll send you the first draft for approval by September 11, 2018 at 10:52 AM
Total price:
$26
The price is based on these factors:
Academic level
Number of pages
Urgency
Basic features
  • Free title page and bibliography
  • Unlimited revisions
  • Plagiarism-free guarantee
  • Money-back guarantee
  • 24/7 support
On-demand options
  • Writer’s samples
  • Part-by-part delivery
  • Overnight delivery
  • Copies of used sources
  • Expert Proofreading
Paper format
  • 275 words per page
  • 12 pt Arial/Times New Roman
  • Double line spacing
  • Any citation style (APA, MLA, Chicago/Turabian, Harvard)

Our guarantees

Delivering a high-quality product at a reasonable price is not enough anymore.
That’s why we have developed 5 beneficial guarantees that will make your experience with our service enjoyable, easy, and safe.

Money-back guarantee

You have to be 100% sure of the quality of your product to give a money-back guarantee. This describes us perfectly. Make sure that this guarantee is totally transparent.

Read more

Zero-plagiarism guarantee

Each paper is composed from scratch, according to your instructions. It is then checked by our plagiarism-detection software. There is no gap where plagiarism could squeeze in.

Read more

Free-revision policy

Thanks to our free revisions, there is no way for you to be unsatisfied. We will work on your paper until you are completely happy with the result.

Read more

Privacy policy

Your email is safe, as we store it according to international data protection rules. Your bank details are secure, as we use only reliable payment systems.

Read more

Fair-cooperation guarantee

By sending us your money, you buy the service we provide. Check out our terms and conditions if you prefer business talks to be laid out in official language.

Read more
error: Content is protected !!