jameslairdsmith / gs

A grammar of recurring calendar events.
https://jameslairdsmith.github.io/gs/
Other
15 stars 0 forks source link

`is_occurring` and `next_occurring` functions. #19

Closed jameslairdsmith closed 5 years ago

jameslairdsmith commented 5 years ago

is_occurring will replace test_date. It will take a date as the first argument and a schedule as the second.

next_occurring will perform a search from the current system date. It will have a customisable limit.

jameslairdsmith commented 5 years ago

is_occurring() has now been implemented. Not sure whether next_occurring() is worthwhile. There may be an overlap with on_previous() and on_next() #16 .