Re: [calsify] JSCalendar duration vs. end time

"Alexander Nimmervoll" <nimm@caldavsynchronizer.org> Thu, 14 February 2019 18:24 UTC

Return-Path: <nimm@caldavsynchronizer.org>
X-Original-To: calsify@ietfa.amsl.com
Delivered-To: calsify@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id D55871200ED for <calsify@ietfa.amsl.com>; Thu, 14 Feb 2019 10:24:49 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.898
X-Spam-Level:
X-Spam-Status: No, score=-1.898 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id C1eVtZfazGBB for <calsify@ietfa.amsl.com>; Thu, 14 Feb 2019 10:24:47 -0800 (PST)
Received: from dd40210.kasserver.com (dd40210.kasserver.com [85.13.156.70]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 1D7E31288BD for <calsify@ietf.org>; Thu, 14 Feb 2019 10:24:46 -0800 (PST)
Received: from nbnimm (178.165.129.3.wireless.dyn.drei.com [178.165.129.3]) by dd40210.kasserver.com (Postfix) with ESMTPSA id 98A6063A03F5 for <calsify@ietf.org>; Thu, 14 Feb 2019 19:24:43 +0100 (CET)
From: Alexander Nimmervoll <nimm@caldavsynchronizer.org>
To: calsify@ietf.org
References: <1550160126.3602072.1658018976.28709BD3@webmail.messagingengine.com>
In-Reply-To: <1550160126.3602072.1658018976.28709BD3@webmail.messagingengine.com>
Date: Thu, 14 Feb 2019 19:24:43 +0100
Message-ID: <022801d4c492$91037820$b30a6860$@caldavsynchronizer.org>
MIME-Version: 1.0
Content-Type: multipart/alternative; boundary="----=_NextPart_000_0229_01D4C49A.F2C7E020"
X-Mailer: Microsoft Outlook 16.0
Content-Language: de-at
Thread-Index: AQOLZthb+8PHggH5/l2b8JGbRR609aJyUz+A
Archived-At: <https://mailarchive.ietf.org/arch/msg/calsify/E9UYtP-W6DsNcxUo4GsaJr1NsLo>
Subject: Re: [calsify] JSCalendar duration vs. end time
X-BeenThere: calsify@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: <calsify.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/calsify>, <mailto:calsify-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/calsify/>
List-Post: <mailto:calsify@ietf.org>
List-Help: <mailto:calsify-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/calsify>, <mailto:calsify-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 14 Feb 2019 18:24:50 -0000

I agree that having 2 different representations is confusing and should be avoided. Similar problem with COUNT and UNTIL in RRULE.

 

But looking into it also from client UI perspective almost every client allows you to choose start and end time and not start time and duration for an event.

Is there a reason you choose start time and duration vs start time and end time? You also use start and due for JSTask and no duration there, again confusing. There shouldn’t be different representations for events and tasks.

Using start and end time allows also an easier specification of different start and end timezones and is less confusing for triggers related to start or end.

 

During CalConnect we also mentioned the airline example where start and end times are different from scheduled durations but that can’t be modelled in iCalendar as well.

 

Cheers,

Alex

 

Von: calsify <calsify-bounces@ietf.org> Im Auftrag von Robert Stepanek
Gesendet: Donnerstag, 14. Februar 2019 17:02
An: calsify@ietf.org
Betreff: [calsify] JSCalendar duration vs. end time

 

During CalConnect XLIV in Zurich last week, discussion arose if the JSCalendar duration property is enough to define the time span of an event, or if an end time should be allowed as well (see the latest spec  <https://tools.ietf.org/html/draft-ietf-calext-jscalendar-11> here).

 

Two arguments were raised in favor of adding an end time

*	It simplifies translation of VEVENTs with DTSTART/DTEND from iCalendar.
*	It allows to specify recurring events with a fixed end time even in case of time gaps (e.g. a recurring night club that has to close at a fixed time for legal reasons).

 

Our main concerns with adding an end time are:

*	Having two representations to define an event time span adds complexity. This contradicts the stated goals of JSCalendar.
*	Translation of DTSTART/DTEND to duration for one-time events is in almost all cases trivial. It does not require to rewrite existing calendar data.
*	The "night club scenario" isn't covered by iCalendar either, as the same exact duration of a recurring even with DTEND must be applied to all members of the generated recurrence set (see RFC 5545, section 3.8.5.3). If anything, this scenario speaks for a new parameter on the RRULE.
*	Durations are guaranteed to be zero or positive, which makes it harder to produce invalid events.

 

As it currently stands we therefore see no need for an end time property. Please let us know if you disagree.

 

Thanks,

Robert