+using namespace std;
+
+struct XCCalendarMonthViewGridDayData{
+
+ int day = 1;
+ int month = 1;
+ int year = 1;
+ bool isInMonth = false;
+
+};
+
+struct XCCalendarMonthViewGridDayWeek{
+
+ vector<XCCalendarMonthViewGridDayData> dayList;
+
+};
+
+struct XCCalendarMonthViewGrid{
+
+ vector<XCCalendarMonthViewGridDayWeek> weekList;
+
+};
+
+XCCalendarMonthViewGrid GenerateMonthGrid(int month, int year);
+int PreviousMonthNumberofDays(int month, int year);