3 unstable releases
0.2.0 | Feb 15, 2024 |
---|---|
0.1.1 | Feb 15, 2024 |
0.1.0 | Feb 11, 2024 |
#570 in Date and time
11KB
220 lines
LSTC Calendar
Use the LSTC Calendar to classify dates using recurring patterns, such as 25-Dec being Christmas.
The Calendar can be used to model the following examples.
- Every Day
- Weekends & Work days
- Annual Dates
- Christmas
- Boxing Day
- Lieu Dates
- The Monday/Tuesday following Christmas or Boxing Day that falls on the weekend
- Specific Dates
- 2024-03-29 (Good Friday 2024)
- Bank Holidays
- 1st Monday in May
- Last Monday in May
Note: LSTC does not support Lunar calendars at present, such as Easter, Eid, Chinese New Year, etc. These can be added as specific dates for each year, with little effort.
This project is part of the letsseethecode.com collaborative coding project.
Dependencies
~1.3–2MB
~39K SLoC