Given a Calendar class (there are three fields, year, month, day) and a number of N, Implement a function that returns the calendar after N days.

Example:

Input: {2017, 3,20} and 12,

Output: {2017,4, 1}

0 votes

Given a Calendar class (there are three fields, year, month, day) and a number of N, Implement a function that returns the calendar after N days.

Example:

Input: {2017, 3,20} and 12,

Output: {2017,4, 1}

...