CAP-12-e: 6.1.1.15 Query by Date-Time range

[email protected]
Newsgroups gmane.ietf.calendar
Message-ID <OF4AC4F0D3.DCCF3D9B-ON85256DF9.0068C943-85256DF9.00692661@notesdev.ibm.com>
In revistiing some sections of CAP 12-e for snippets for other postings I 
ran across what appears to be an incorrect example for the section. 
Section 6.1.1.15 Query by Date-Time range should have an example for 
getting "every booked "VEVENT" component that has an instance greater than 
or equal to July 1st, 2000 00:00:00 UTC and less than or equal to July 
30st, 2000 23:59:59 UTC."

However the query is using RECURRENCE-ID which is an instance identifier 
and NOT the acutal entry occuring in that time range.  I believe the 
correct example should be:

   BEGIN:VQUERY
   QUERY:SELECT * FROM VEVENT
   WHERE DTSTART >= '20000701T000000Z'
   AND DTEND <= '20000730T235959Z'
   AND STATE() = 'BOOKED'
   END:VQUERY

Bruce
===========================================================================
Bruce Kahn                                INet: 
[email protected]
Messaging & Collaboration                 Phone: 978.399.6496
IBM Software Group                         FAX: and nothing but the FAX...
Standard disclaimers apply, even where prohibited by law...
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.