Is there any library, template or general way of working with working days? I mean, is there a relatively well-accepted way to find out if a work day is a weekend, not a holiday, etc.?
Also, assuming there is such a thing, it would be useful to know if the day has any “detail”? For example, here in Brazil, we only work in the afternoon in Ash Wednesday. Is there some kind of flexible structure to deal with such changes?
I could implement this business logic without any difficulty, but I would not want to reinvent the wheel, and other user suggestions may be useful. Moreover, this seems like a very recurring problem.
Thanks in advance!
source
share