The workflow at a glance
Normalize dates and time references, then compare meetings that share a constrained person or resource. With an exclusive end, positive overlap requires max(start)<min(end). Equality means touching endpoints. Add buffer requirements as a separate rule, preserving the original schedule.
Define interval and resource rules first
The VEVENT specification in RFC 5545 makes DTSTART inclusive and DTEND non-inclusive. This original exercise adopts that endpoint convention and counts only positive-duration intersections. Do not assume every business scheduling system applies the same rule without checking.
State which person or resource cannot be shared. Simultaneous meetings with independent attendees and rooms need not conflict under the question being asked. Here all four meetings use the same person P and room R. Recurrence, all-day items and midnight crossings are deliberately outside this initial case.
Four meetings create six unordered pairs
All records below are fictional, dated 2026-10-15, on a fixed UTC+08:00 time basis. Every end follows its start. A fixed offset for this exercise is not a permanent time-zone policy for a location. If a real source says only “nine in the morning,” use the date and offset ambiguity checks before comparing intervals.
| Meeting ID | Start | End | Shared resource |
|---|---|---|---|
| A | 09:00 | 09:30 | Person P / room R |
| B | 09:30 | 10:00 | Person P / room R |
| C | 09:20 | 09:40 | Person P / room R |
| D | 10:00 | 10:15 | Person P / room R |
This is a fictional audit; do not create or change calendar entries. Date 2026-10-15, fixed UTC+08:00. A 09:00–09:30; B 09:30–10:00; C 09:20–09:40; D 10:00–10:15. All share person P and room R. Start is inclusive and end exclusive. List all 6 unordered pairs. Apply max(start)<min(end), showing intersection bounds and positive overlap minutes. Equality means touching, not overlapping. Separately check a 10-minute buffer for A→B and B→D. Preserve IDs and times; do not guess missing values, reschedule or send invitations.Establish the answer before reviewing AI output
For A and C, the later start is 09:20 and earlier end 09:30: ten minutes overlap. B and C intersect from 09:30 to 09:40, also ten minutes. For A and B both bounds are 09:30, so strict inequality fails. B and D likewise touch without positive overlap.
Four records produce 4×3÷2=6 unordered pairs. Comparing only adjacent rows can miss a meeting crossing several others. Do not count A–C and C–A twice; a stable sorted pair key such as A|C makes omissions and duplicates easier to detect.
| Pair | Intersection or relation | Overlap minutes | Result |
|---|---|---|---|
| A–B | Touch at 09:30 | 0 | No overlap |
| A–C | 09:20–09:30 | 10 | Overlap |
| A–D | 30-minute gap | 0 | No overlap |
| B–C | 09:30–09:40 | 10 | Overlap |
| B–D | Touch at 10:00 | 0 | No overlap |
| C–D | 20-minute gap | 0 | No overlap |
Treat transition time as another requirement
Now check a ten-minute buffer only for the specified handoffs A→B and B→D. Each gap is zero, leaving a ten-minute shortfall. Report “no time overlap, but insufficient buffer.” This does not make the whole schedule feasible: the actual A–C and B–C overlaps still need resolution.
If the buffer depends on location, supply a rule or a known duration rather than asking AI to invent travel time. Do not silently extend meeting ends and overwrite the source table. Keeping occupied time and the buffer requirement separate makes each conclusion traceable.
Different claims require different evidence
A–B overlap by ten minutes and must move.
A–B overlap is zero. Available buffer is zero, required buffer is ten, shortfall is ten minutes.
Audit the pairs instead of trusting confident prose
Compare each reported pair with the answer key. Check IDs, original times, omitted pairs and whether zero became “unknown.” Pay particular attention to a method that checks only neighboring rows after sorting and therefore overlooks C’s effect on both A and B.
Keep stable IDs when titles change. The stable-ID list reconciliation workflow explains a related identity check; identical meeting names are not a reason to delete a record. Retain input, rules, returned output and unresolved questions for later recalculation.
Acceptance conditions
- All six unordered pairs appear once.
- Only A–C and B–C have positive overlap, ten minutes each.
- A–B and B–D retain their zero-overlap touching endpoints.
- The ten-minute buffer is separately checked for specified handoffs.
- No times change, invitations are not sent and no calendar synchronization is claimed.
Preserve unknowns when the source is incomplete
Real schedules may contain cancelled entries, transparent events, recurrence exceptions, several time zones and overnight intervals. Decide which records actually occupy the constrained resource before extending this example. A missing end time cannot support this calculation without an explicit rule.
Programs and spreadsheets can perform interval calculations too. AI can help explain exceptions and organize clarification requests, but its prose does not establish that a calendar was changed. Return to the source schedule and authorized calendar workflow before taking action.
Keep three outcomes separate
Computable
Date, time basis, interval and resources are explicit; calculate each intersection.
Rule failure
Data is complete but a buffer or resource rule fails; report its shortfall.
Insufficient information
List missing dates, offsets, ends or resources without inventing values.
Common questions
Does ending and starting at 09:30 count as a conflict?
Under this guide’s inclusive-start, exclusive-end convention, it is not positive-duration overlap. A separate transition-buffer requirement may still fail.
Can AI move conflicting meetings automatically?
This guide audits rather than authorizes calendar changes. Rescheduling also requires attendee, resource, time-zone, notification and permission checks.
Why not check only neighboring sorted rows?
An interval can intersect several others. Meeting C affects both A and B here. Complete pairing or a verified interval algorithm is needed to avoid such omissions.


