[calsify] JSCalendar duration vs. end time

Robert Stepanek <rsto@fastmailteam.com> Thu, 14 February 2019 16:02 UTC

Return-Path: <rsto@fastmailteam.com>
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 049DF131174 for <calsify@ietfa.amsl.com>; Thu, 14 Feb 2019 08:02:11 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.699
X-Spam-Level:
X-Spam-Status: No, score=-2.699 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=fastmailteam.com header.b=ak/NxSO6; dkim=pass (2048-bit key) header.d=messagingengine.com header.b=pSZPRkU5
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 1eHKxyHS8p8H for <calsify@ietfa.amsl.com>; Thu, 14 Feb 2019 08:02:08 -0800 (PST)
Received: from out2-smtp.messagingengine.com (out2-smtp.messagingengine.com [66.111.4.26]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id B55221311B5 for <calsify@ietf.org>; Thu, 14 Feb 2019 08:02:08 -0800 (PST)
Received: from betaweb1.internal (betaweb1.nyi.internal [10.202.2.10]) by mailout.nyi.internal (Postfix) with ESMTP id 19CAF21DC7 for <calsify@ietf.org>; Thu, 14 Feb 2019 11:02:07 -0500 (EST)
Received: from betaweb1 ([::ffff:10.202.2.10]) by betaweb1.internal (MEProxy); Thu, 14 Feb 2019 11:02:07 -0500
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= fastmailteam.com; h=message-id:from:to:mime-version :content-transfer-encoding:content-type:subject:date; s=fm1; bh= /xlaJ5BdR/OytRsaCOvcU3vHDchJFB8Z0EpIRlhIUKA=; b=ak/NxSO6umNb3q4u THkbVQxG77h7pv81R0Hdewm+nViyIScXGGxtxxZmAf2RLEKysDuBRnm3ppSa7nuN 9Pg+bk5G7rcShQlXk7YRkMQ21wntnJEVwt1lq2m+gWu2qWOR8k6hjMU9awBQB29T nsdm2rG/4UAZ02AhO17BXv8Pjd4m3KBt0LMdN9nAVLAczhfP3bMsQB8Sbrdc6jey mehiF7XV5pT1h3uSbhGmTC4YD06gPyUoCyOE2CXvh1IrkrTFRa1P/OsjWbo4NhLH andP4fFPfQSdAXJbCNOTs0xie1km46fOmfOb/NVNFaFL+jDZlhq3khN8m4IWGBed o+yB3g==
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-transfer-encoding:content-type :date:from:message-id:mime-version:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm2; bh=/xlaJ5 BdR/OytRsaCOvcU3vHDchJFB8Z0EpIRlhIUKA=; b=pSZPRkU5klggeN5nJy7Wy/ G7jVY6rlTnfvbEwCfWiW5N9osDIJh/RP3KeonFztDcMN6a3ujYS+HCddDruySfVL tXbIvI390FDxMZB5YDbi4QOKmejJTZwI+a/2h/+KKMsBX28hVpQ9BYDfuC2VMGx8 pcUHx5nfvw4/6xaLpWFvYPptBAZLxnZ8M04ITmMLzR7D/gaMp02P40qg+21FJkk0 3nZ0Cx6N83eS+CNzEkBB0e/wj5dPqbDriqrVY/V9b5m9S/1DQPZHrwtnTb1PgnWN 91gUharcHXs9Ld19Es6R3ZmM2oq88JB1Jouoq4ouvGZpBXexDZx5KegNTY0OvmBQ ==
X-ME-Sender: <xms:_pBlXOGbF58YeaxOtFyLkE8Q082fVADmNHc_Hz-z5QnIWTaBhYuYig>
X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedtledruddthedgkeefucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlnecuuegrihhlohhuthemuceftddtnecu necujfgurhepkffhvfgggfgtoffuffesrgejreerredtjeenucfhrhhomheptfhosggvrh htucfuthgvphgrnhgvkhcuoehrshhtohesfhgrshhtmhgrihhlthgvrghmrdgtohhmqeen ucffohhmrghinhepihgvthhfrdhorhhgnecurfgrrhgrmhepmhgrihhlfhhrohhmpehrsh htohesfhgrshhtmhgrihhlthgvrghmrdgtohhmnecuvehluhhsthgvrhfuihiivgeptd
X-ME-Proxy: <xmx:_pBlXNTNX-wIsZkM3vRgZPqJhWXHpMKi7TOlNxtfYQGXvt4xeE_Drg> <xmx:_pBlXPuY7ThUooHPWXQ9bQaus6wgVY778iGqFU8phwDopz3tmKJFOg> <xmx:_pBlXEyQlwMSSIdAFI0CYCiDZFAJLBR190sfxcK6hq7zKM2loodQQA> <xmx:_5BlXD01cbBP6LkWdpU-pxJks8T9NF_HXB39d7mCoNXvXn2p8Lt0VA>
Received: by mailuser.nyi.internal (Postfix, from userid 99) id ACD25E22F9; Thu, 14 Feb 2019 11:02:06 -0500 (EST)
Message-Id: <1550160126.3602072.1658018976.28709BD3@webmail.messagingengine.com>
From: Robert Stepanek <rsto@fastmailteam.com>
To: calsify@ietf.org
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Type: multipart/alternative; boundary="_----------=_155016012636020723"
X-Mailer: MessagingEngine.com Webmail Interface - ajax-e97eb308
Date: Thu, 14 Feb 2019 17:02:06 +0100
Archived-At: <https://mailarchive.ietf.org/arch/msg/calsify/-dQuFgHHf7sl8R-OqIOw6cExvAI>
Subject: [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 16:02:19 -0000

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 here[1]).
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








Links:

  1. https://tools.ietf.org/html/draft-ietf-calext-jscalendar-11