Go to the documentation of this file. 1 static int days[] = {-1, 31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31};
4 if ((
year % 4 == 0 &&
year % 100 != 0) ||
year % 400 == 0)
11 else return days[month];
15 int i, sub_days, mdays;
17 for (
i = 1;
i < 13;
i++) {
37 if (month < 1 || month > 12)
41 for (
i = 1;
i < month;
i++)
int getCalDay(int year, int jday, int *month, int *day)
int32_t jday(int16_t i, int16_t j, int16_t k)
subroutine julday(YYMMDD, JDAY)
int daysInMonth(int year, int month)
int getJulianDay(int year, int month, int day)