Calzone-UI/inc/date_utils.h

14 lines
204 B
C
Raw Permalink Normal View History

2024-02-21 01:11:59 +00:00
#pragma once
#include <stdint.h>
#include <stdbool.h>
#define MAX_DAYS_IN_MONTH 31
bool isLeapYear(int year);
2024-02-23 04:45:19 +00:00
uint8_t firstDayOfMonth(int month, int year);
uint8_t daysInMonth(int month, int year);
2024-02-21 01:11:59 +00:00