Create a class Data that includes the fields day, month, and year.
Implement the following constructors:
A default constructor that sets the date to 01.01.1900.
A parameterized constructor that accepts three integers (day, month, year) and initializes the respective fields.
Date validation is not required; it is guaranteed that the input date will be correct (the year will be between 0 and 2050).
Implement the following method:
void OutDataddmmyyyy() — prints the date in the format dd.mm.yyyy, for example, 02.03.2019.
Overload the following operators:
++ to increment the date by 1 day (overload both post-increment and pre-increment).
-- to decrement the date by 1 day (overload both post-decrement and pre-decrement).
Comparison operators:
== to check if two dates are equal (returns true/false).
!= to check if two dates are not equal (returns true/false).
Greater than (>), less than (<), greater than or equal to (>=), and less than or equal to (<=) (each returns true/false).
For evaluation, only submit the class.
Evaluation will be performed in C++.
Test details:
Tests 1, 5, 6: Check the default constructor, the parameterized constructor Data(int, int, int), the method OutDataddmmyyyy(), and the operator a++.
Test 2: Check the default constructor, the parameterized constructor, the method OutDataddmmyyyy(), and the operator ++a.
Tests 3, 7: Check the default constructor, the parameterized constructor, the method OutDataddmmyyyy(), and the operator a--.
Tests 4, 8: Check the default constructor, the parameterized constructor, the method OutDataddmmyyyy(), and the operator --a.
Tests 9, 10, 11: Check the default constructor, the parameterized constructor, the method OutDataddmmyyyy(), and the operator a++ throughout an entire calendar year.
Tests 13, 14: Check the default constructor, the parameterized constructor, the method OutDataddmmyyyy(), and the operator a-- throughout an entire calendar year.
Tests 14–16: Check the default constructor, the parameterized constructor, the method OutDataddmmyyyy(), and all comparison operators.