pub fn overlaps(events: &[Occurrence], between: u32) -> Vec<Overlap>Expand description
The pairs of events that clash: timed, not cancelled, lasting some time
(a reminder at 10:00 holds no time), each pair once. Two events overlap
only when their times do (22 October 2026). Closer than a time you set
yourself, they are said too close, never overlapping, that time named
with where you set it: the first’s own After, the second’s own Before, or
between (Settings ▸ Agenda, Time kept between two events; 0 unless you
set it), the longest of the three, never added. No other time is ever
put between two events: none from places, the plan or a default.