6 ms·
> Intervals (like June 12-13) I wrote a Python library to do things like >>> r = Recurrence('June-July 2014').intersect(Recurrence('Monday to Friday'))
by muxxa 12y ago
> Intervals (like June 12-13)
I wrote a Python library to do things like
>>> r = Recurrence('June-July 2014').intersect(Recurrence('Monday to Friday'))
>>> datetime.date(2014, 6, 13) in r
True
>>> datetime.date(2014, 6, 14) in r
False
If anyone is interested in hacking on it with me, send me an email and I'll try to get it up on github.
- crdoconnor 12y agoThat sounds really useful.