#ifndef CONTROLLER_PERIOD_H #define CONTROLLER_PERIOD_H #include #include typedef struct { uint16_t start; uint16_t end; } period_t; int period_includes_time(period_t period, struct tm *time_struct); #endif /* CONTROLLER_PERIOD_H */