Read a date-only calendar event’s end as a boundary, not automatically as its last included day. In an iCalendar VEVENT, a DATE-valued start and end can represent a multi-day event whose final included date precedes the stored end date. Check that represented span against the event plan before preparing attendee dates.
This is an interpretation check on supplied calendar properties. It does not import a file, configure an application, send invitations or establish a venue booking. A correct interpretation of an export is also separate from observing how a particular calendar client displays it.
Use the calendar property meaning
RFC 5545, September 2009, section 3.6.1 specifies an inclusive DTSTART and a non-inclusive DTEND for VEVENT. For a DATE-valued DTSTART with neither DTEND nor DURATION, it specifies a one-day duration. It also requires a DATE-valued end when this DATE-valued event supplies an end.
Those are the source rules used below. They do not choose the organizer’s intended dates. Keep the represented calendar span and the authoritative event plan beside each other so that one can reveal a mismatch in the other.
Put the properties beside the program
The event, identifiers, program and property values in this exercise are original fiction. They are a small complete input set for a date-span check, not a complete calendar file or observations from an actual application.
Program P9 establishes that event E9 runs on May 4, 5 and 6, 2027. The scheduling coordinator owns checking the represented dates; the event owner owns the intended program and any authorized calendar correction. No room access times or resource reservation are supplied.
| Record E9-A | Supplied property | Meaning for this check |
|---|---|---|
| Start | DTSTART;VALUE=DATE:20270504 | First included date is May 4 |
| End | DTEND;VALUE=DATE:20270507 | May 7 is the first excluded date |
| Other extent inputs | No DURATION, recurrence or exception properties in this fixture | Check this single explicit start/end span |
| Intended program | P9: May 4, 5 and 6 | Three exact dates to reconcile, not an inferred span from a title |
Both boundary values are DATE values here. Do not turn them into invented UTC instants or infer the venue’s opening hours. This task enumerates represented calendar dates, not elapsed operating hours or time-zone transitions.
Enumerate before writing the last day
Start at May 4 and include each date strictly before May 7: May 4, May 5 and May 6. The represented set contains three dates. It matches P9.
The filled span review SR9-A reads: E9-A; DATE start 20270504 included; DATE end 20270507 excluded; represented dates May 4/5/6; three dates; matches P9’s supplied program. No client display or booking tested.
In the modeled negative check, a colleague drafts “May 4–7, four days” by copying the stored end into the last-day field. Comparing that draft with the enumerated set exposes the extra May 7. The coordinator corrects the review wording to “May 4–6, three dates” while leaving the supplied calendar properties unchanged.
A second fictional reviewer repeats the enumeration and checks each boundary: May 4 belongs, May 6 belongs and May 7 does not. The corrected review wording and P9 now describe the same three dates. A matching duration label alone would not catch a shifted three-date interval, so retain the actual dates too.
A missing end changes the represented span
Now take a separate export E9-B for the same planned program. It supplies DTSTART;VALUE=DATE:20270504, but has neither DTEND nor DURATION. It also has no recurrence or exception properties. A summary field still describes a three-day workshop.
The source’s one-day default applies to these supplied properties. E9-B represents May 4 only; its boundary is before May 5. The summary wording does not supply the missing extent properties.
The changed review is explicit: E9-B; represented set May 4 only; P9 requires May 4/5/6; May 5 and May 6 not represented; scheduling coordinator holds the span match; event owner must confirm the required corrected calendar extent. This is not an unknown represented duration: the stated default gives one day. What remains unresolved is the supported correction needed to represent the intended program.
No corrected export is supplied in this branch. Do not silently add an end date and report that the owner issued it. Evidence that would change the hold is an authorized corrected record whose actual start/end or duration properties represent P9, followed by a fresh span check. A message saying the title is right would not close the property mismatch.
If a real record contains DURATION, recurrence or exceptions, inspect those actual properties rather than applying this branch’s absent-property default. This exercise supplies none and is not a recurrence-expansion guide.
Check a month boundary and the scope
For a separate arithmetic check, DATE start 20270531 and DATE end 20270602 represent May 31 and June 1: two dates. June 2 is excluded. Listing three dates because the values cross a month boundary would repeat the same endpoint error.
Keep the exact source record, value types, extent properties, enumerated dates, program reference and owner disposition together. An actual application display needs its own observation; the paper result does not establish what a recipient saw. Likewise, an all-day calendar span supplies no evidence of staffing, premises access or a booked room.
Finish with a supported represented-date set and program match, or a precise mismatch and the evidence needed from its owner. The useful answer is which dates this calendar record represents, not merely a plausible-looking start and end label.
Explore Infinite Upside
For Vijay Sheth’s personal accounts, read Infinite Upside: Building Wealth With Room to Live, published by Sheth Capital, Inc.
Keep reading with the book.
Reader’s Guide