pub fn before_at(event: &Occurrence, minutes: u32) -> Option<i64>Expand description
When Sioul reminds of an event before it (Unix seconds): its own time
(REMIND) or the usual minutes, counted before its margin (getting
ready, getting there): 14:00 with 30 minutes to get there and a quarter
of an hour reminds at 13:15. A task’s time block is an event like any
other (docs/tasks.md, “Pinned to a time”). None for a whole day (the
working day before tells it), for “not this one”, and, unless they ask,
for calendars you only read (holidays, subscriptions: their own alarms
still come).