1int _daysmon[12] = {31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31};23int4_daysyear(int year)5{6 if (year%4 != 0)7 return 365;8 if (year%100 == 0 && year%400 != 0)9 return 365;10 return 366;11}
A fork of https://git.simple-cc.org/scc/ for Qute
git clone https://git.8pit.net/scc.git
1int _daysmon[12] = {31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31};23int4_daysyear(int year)5{6 if (year%4 != 0)7 return 365;8 if (year%100 == 0 && year%400 != 0)9 return 365;10 return 366;11}