freeTimeSearch (Session - Java)

Searches for free-time slots in the calendar.

Defined in



public java.util.Vector freeTimeSearch(DateRange window, int duration, Object names, boolean firstfit)
    throws NotesException


DateRange window

Starting and ending times within which to search for a match. Cannot be null.

int duration

The length in minutes of the free-time interval you want to schedule.

Object names

String or vector of strings. The name or names of the people or groups whose free time you want to schedule. Cannot be null.

boolean firstfit

Specify true if you just want the first matching date range, false if you want all matching times.

Return value


Each member of the vector is a DateRange object. The vector is null if there are no matches.