LiturgicCalendar is a program that generates the General Roman Calendar of the Catholic Church.
This project is desgined for CathAssist.
- Use Julian Day store the date
- Provide lunar for Chinese (1901 ~ 2050)
- Define week/month/color etc
- Liturgical ranks represent how important the day is.
This project used CMake to compile, for more information please visit: CMake.
# Use `cmake` to generate makefile
cmake .
# make the project
make
Sample in test/liturgy_calendar_test.cpp
- include "Calendar.h"
- init the calendar by 'Calendar::initCalendar()'
- just get the LiturgicDay by static method 'Calendar::getLiturgicDay(inputDate)'
- after all, release the calendar by 'Calendar::releaseCalendar()'