2đź‘Ť
It sounds like something that is fundamentally “business logic.” For example, if the dates happen to all be Easter on consecutive years, do you expect that to be picked up? What about if they are all the last day of Hanukkah? This isn’t likely to be something that’s handled by a language or library directly–you’ll need to write the logic and rules yourself, I imagine. There’s definitely room to be innovative here–think about how you can express the rules in a uniform way…look at the existing timezone database and other such existing software for inspiration (or warnings of what to avoid!).
0đź‘Ť
As per your need you have to use Python Calendar
module to iterate over the weekdays or days or the month. It provide the functions to read on specific day of month or week.
- [Answered ]-Django use Case When to compose sql query
- [Answered ]-Django Query only one field of a model using .extra() and without using .defer() or .only()
- [Answered ]-Dajaxice not found on production server
- [Answered ]-How to do user registration in Django REST framework api
- [Answered ]-Bluemix : code for hash md5 was not found