Hacker News new | ask | show | jobs
by muxxa 4271 days 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.
1 comments

That sounds really useful.