Re: [calsify] SKIP was Re: AD review of draft-ietf-calext-rscale-03

Cyrus Daboo <cyrus@daboo.name> Tue, 03 February 2015 21:04 UTC

Return-Path: <cyrus@daboo.name>
X-Original-To: calsify@ietfa.amsl.com
Delivered-To: calsify@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 26D731A898F for <calsify@ietfa.amsl.com>; Tue, 3 Feb 2015 13:04:24 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.312
X-Spam-Level:
X-Spam-Status: No, score=-1.312 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, J_CHICKENPOX_44=0.6, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01] autolearn=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 dSpQ76yirS0H for <calsify@ietfa.amsl.com>; Tue, 3 Feb 2015 13:04:21 -0800 (PST)
Received: from daboo.name (daboo.name [173.13.55.49]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id AF8E31A8725 for <calsify@ietf.org>; Tue, 3 Feb 2015 13:04:21 -0800 (PST)
Received: from localhost (localhost [127.0.0.1]) by daboo.name (Postfix) with ESMTP id F2C19AC9ABB; Tue, 3 Feb 2015 16:04:20 -0500 (EST)
X-Virus-Scanned: amavisd-new at example.com
Received: from daboo.name ([127.0.0.1]) by localhost (daboo.name [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id shCi0G1GuuGZ; Tue, 3 Feb 2015 16:04:20 -0500 (EST)
Received: from caldav.corp.apple.com (unknown [17.45.162.46]) by daboo.name (Postfix) with ESMTPSA id 74130AC9AAA; Tue, 3 Feb 2015 16:04:19 -0500 (EST)
Date: Tue, 03 Feb 2015 16:04:15 -0500
From: Cyrus Daboo <cyrus@daboo.name>
To: Marten Gajda <marten@dmfs.org>, Ken Murchison <murch@andrew.cmu.edu>, calsify@ietf.org
Message-ID: <6BD446FBAB897BCD227A82F1@caldav.corp.apple.com>
In-Reply-To: <54D1368F.2000501@dmfs.org>
References: <68FCD7D11F934509267D5915@cyrus.local> <CALaySJKQP9WjRQV2qrgfLiGwj-SQAUCF6RVcQuRrUYNpfqp17A@mail.gmail.com> <7FF77F2FE3390FFD1149E953@cyrus.local> <CALaySJK3RiXXHTq9MC4nwA4c_gZzEVDoWa96MDc7Ue4yDRgbWA@mail.gmail.com> <C80A141CD062EFF630B6D2BB@caldav.corp.apple.com> <54D0E2E9.2030505@andrew.cmu.edu> <99B9DDB4AEFC12755724C5DD@caldav.corp.apple.com> <54D107AC.3050706@andrew.cmu.edu> <2D953326EFEE238B1CCF867E@caldav.corp.apple.com> <54D10C50.20909@andrew.cmu.edu> <54D10FDB.6070001@andrew.cmu.edu> <54D12AAC.7000202@dmfs.org> <54D12E31.4020506@andrew.cmu.edu> <55A07C99191DC58DAAA160D5@caldav.corp.apple.com> <54D1368F.2000501@dmfs.org>
X-Mailer: Mulberry/4.1.0b1 (Mac OS X)
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"; format="flowed"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline; size="1219"
Archived-At: <http://mailarchive.ietf.org/arch/msg/calsify/NwQRx0BKw-CuBj9u3jMn-fyLMUA>
Subject: Re: [calsify] SKIP was Re: AD review of draft-ietf-calext-rscale-03
X-BeenThere: calsify@ietf.org
X-Mailman-Version: 2.1.15
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: <http://www.ietf.org/mail-archive/web/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: Tue, 03 Feb 2015 21:04:24 -0000

Hi Marten,

--On February 3, 2015 at 9:58:55 PM +0100 Marten Gajda <marten@dmfs.org> 
wrote:

>> But if we use 20140229 as the DTSTART - and that is a leap day on a
>> Sunday - then I think Marten is write that apply the SKIP after the
>> BYMONTH and before the BYDAY would result in only Sundays in leap
>> years being returned.
>>
>> I think having those two rules return different results would be
>> counterintuitive so I would prefer we left the order of BYxxx element
>> and SKIP processing as it is now.
>>
> you meant 20040229, right?

Yes!

> The point is, that evaluating SKIP=OMIT after BYMONTH=2 would remove Feb
> 29th in non-leap years and there would be nothing left for BYDAY to
> expand.
>
> I'd also prefer having SKIP=OMIT behave like a rule without RSCALE.
>

I think Ken's idea is that you apply the SKIP after BYMONTH only if the 
invalid data corresponds to an invalid leap month as opposed to a leap day. 
In which case the SKIP would not have applied after BYMONTH in your 
example. But I think a behavior like that is going to be really tricky for 
implementors to get right and hard to describe really well without having 
to delve into the gory details of RRULE processing.

-- 
Cyrus Daboo