Calender_merge is a C program that merges busy time intervals from one or more CSV files and outputs all available free time slots within a specified daily window. It supports filtering by minimum free slot duration. Basically it is a neat tool for coordinating with other students in a group project.
The format is specified per .csv generated by TimeEdit (which my University uses).
Each line in the .csv must contain four fields:
start_date: YYYY-MM-DDstart_time: HH:MMend_date: YYYY-MM-DDend_time: HH:MM
schedual1.csv:
2025-09-08,10:15,2025-09-08,12:00
2025-09-08,13:15,2025-09-08,15:00schedual2.csv:
2025-09-08,08:15,2025-09-08,10:00
2025-09-08,13:15,2025-09-08,17:00schedual3.csv:
2025-09-08,10:15,2025-09-08,12:00
2025-09-08,15:15,2025-09-08,17:00./freeslots -w 08:15-17:00 -m 60 cal1.csv cal2.csv cal3.csv
Date Start End Durmation(min)
2025-09-08 12:00 13:15 75gcc -o nob nob.c && ./nob main
./freeslots cal1.csv
./freeslots -m 30 cal1.csv
./freeslots -w 08:15-17:00 cal1.csv
./freeslots -w 08:15-17:00 -m 60 cal1.csv cal2.csv cal3.csv
./nob clean