[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: DURATION vs DTEND




I think it is correct.


Given:
		DTSTART	1pm
		DTEND:  2pm

Equals:

		DTSTART: 1pm
		DURATION: 59 minutes, 59 seconds.

IF you use:

		DTSTART: 1pm
		DURATION: 60 minutes.

Then that would equal:

		DTSTART: 1pm
		DTEND: 2pm + 1 second.


Dan Winship wrote:
From cap-10 6.1.1.10:

As "DTEND" value is the first time that is excluded from a components time range, any "DURATION" value supplied by the "QUERY" property value that is exactly one second less than the "DTEND" property value MUST match the QUERY. And if the "DURATION" property value ends exactly at the computed DTEND it MUST NOT match.

etc. That's wrong, right? DTSTART + DURATION == DTEND, not DTEND - 1

-- Dan


--

 Doug Royer                     |   http://INET-Consulting.com
 -------------------------------|-----------------------------
 Doug@xxxxxxxxx                 | Office: (208)612-INET
 http://Royer.com/People/Doug   |    Fax: (866)594-8574
                                |   Cell: (208)520-4044

We Do Standards - You Need Standards

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature