Design a class Date with day, month and year as properties and overload the following operators: a) + operator [ a + b ( add 2 Date objects )] b) - operator [ a - b (diff. Between 2 Date objects) ] c) == operator [a=b ( Compare 2 Dates ) ] d) ++,-- [ post and pre both to add / deduct days from a given date ] Can you give me this code ..
Design a class Date with day, month and year as properties and overload the
following operators:
a) + operator [ a + b ( add 2 Date objects )]
b) - operator [ a - b (diff. Between 2 Date objects) ]
c) == operator [a=b ( Compare 2 Dates ) ]
d) ++,-- [ post and pre both to add / deduct days from a given date ]
Can you give me this code ..
Contact me on my fiverr gig.
www.fiverr.com/share/ed5gLY