зеркало из https://github.com/mozilla/gecko-dev.git
Added comments for GetAllEvents()
This commit is contained in:
Родитель
186f4fe009
Коммит
3574d11a27
|
@ -230,7 +230,20 @@ interface oeIICal : nsISupports
|
||||||
void deleteEvent( in string id );
|
void deleteEvent( in string id );
|
||||||
oeIICalEvent fetchEvent( in string id );
|
oeIICalEvent fetchEvent( in string id );
|
||||||
// nsISimpleEnumerator searchBySQL( in string sqlstr );
|
// nsISimpleEnumerator searchBySQL( in string sqlstr );
|
||||||
|
|
||||||
|
/**
|
||||||
|
*
|
||||||
|
* GetAllEvents
|
||||||
|
*
|
||||||
|
* DESCRIPTION: Returns a list of all the events in this calendar in an enumerator.
|
||||||
|
* The events are sorted based on the order of their next occurence if they recur in
|
||||||
|
* the future or their last occurence in the past otherwise.
|
||||||
|
* Here's a presentation of the sort criteria using the time axis:
|
||||||
|
* -----(Last occurence of Event1)---(Last occurence of Event2)----(Now)----(Next occurence of Event3)---->
|
||||||
|
* (Note that Event1 and Event2 will not recur in the future.)
|
||||||
|
*/
|
||||||
nsISimpleEnumerator getAllEvents();
|
nsISimpleEnumerator getAllEvents();
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* For all the getEvents* and get*EventForRange methods:
|
* For all the getEvents* and get*EventForRange methods:
|
||||||
* Get events for a certain range. items are oeIICalEventDisplay
|
* Get events for a certain range. items are oeIICalEventDisplay
|
||||||
|
|
Загрузка…
Ссылка в новой задаче