Search
Schedule.getAllItems Method (DateTime, DateTime, Location)
See Also
 






Retrieves a list of all events, including recurrent item instances, scheduled to occur in the specified time interval for a specific Location object.

Namespace: com.mindfusion.scheduling.model
Package: com.mindfusion.scheduling.model

 Syntax

Java  Copy Code

public ItemList getAllItems (
    DateTime startDate,
    DateTime endDate,
    Location location
)

 Parameters

startDate

Specifies the start of the time period.

endDate

Specifies the end of the time period.

location

A Location instance that must be related to the items.

 Return Value

A list that contains the events scheduled to occur in the specified period for the specified location.

 Remarks

If a recurring event occurs in the specified interval, each occurrence is represented by an Item instance whose Item.getRecurrenceState is RecurrenceState.Occurrence.

 See Also