You may actually want a start_date: span::Date, start_time: span::Time.
This will you won't care about run_before/after_handle, 1 method and you just make sure start_date < now { run_at(start_time + recurrence) } (not exactly but you get the idea)
And it makes deserializing tasks more reliable as you have a statically timed reference.
Originally posted by @gpoblon in #10 (comment)
We want to be able to start a task at a specific datetime.
We can add a date and/or time to a task to delay start datetime.
You may actually want a start_date: span::Date, start_time: span::Time.
This will you won't care about run_before/after_handle, 1 method and you just make sure start_date < now { run_at(start_time + recurrence) } (not exactly but you get the idea)
And it makes deserializing tasks more reliable as you have a statically timed reference.
Originally posted by @gpoblon in #10 (comment)
We want to be able to start a task at a specific datetime.
We can add a date and/or time to a task to delay start datetime.