Home | News | Projects | Releases
Bugs | RFE | Repositories | Help
Added code and first unit tests for the GenerateMonthGrid function
[xestiacalendar/.git] / source / common / monthviewgen.h
index e711167..ee046ca 100644 (file)
 #include <ctime>
 #include <iostream>
 
+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);
 
 #endif
\ No newline at end of file
Xestia Software Development
Yn Maystri
© 2006 - 2019 Xestia Software Development
Software

Xestia Address Book
Xestia Calendar
Development

Xestia Gelforn
Everything else

About
News
Privacy Policy