For example, the calendar jdoe has these three events:
eventA: last-modified on Feb. 10, 2002, 10:00 AM GMT.
eventB: last-modified on Dec. 25, 2001, 12:30 PM GMT.
todoA: last-modified on Jan. 20, 2002, 1:15 PM GMT.
Here are some queries and their return values:
http://calendarserver/fetchcomponents_by_lastmod.wcap ?id=jdoe &dtstart=0 &dtend=0
The above query would fetch all events and todos that have ever been modified. Thus eventA, eventB, and todoA would be returned.
http://calendarserver/fetchcomponents_by_lastmod.wcap ?id=jdoe &dtstart=20011201T112233Z &dtend=20020131T112233Z
The above query would fetch all modified events and todos between 12/1/2001 and 1/31/2002. Thus eventB and todoA would be returned.
http://calendarserver/fetchcomponents_by_lastmod.wcap ?id=jdoe &dtstart=20020101T112233Z &dtend=20020601T112233Z
The above query would fetch all events and todos that have been modified between 1/1/2002 and 6/1/2002. Thus eventA and todoA would be returned.