ReservationCollectionTimeSlotFinder

Finds timeslots for a list of reservation collections.

Methods

Description

This method takes a list of reservation collections and a timeslot context. It will return a list of timeslots matching that context where at least one of those collections is avaialble. Each slot also contains a subset of the reservation collections.

Signature

global static B25.ReservationCollectionTimeSlotFinder.Result getTimeRanges(B25.ReservationCollectionTimeSlotFinder.Context context)

Parameters

B25.ReservationCollectionTimeSlotFinder.Context

An instance of B25.ReservationCollectionTimeSlotFinder.Context. This class wraps the input parameters, such as the collections check, and timeslotCotext

Return Type

B25.ReservationCollectionTimeSlotFinder.Result

An instance of B25.AvailableTimeRanges.Result. This contains a list of timeslots matching that context where at least one of those collections is avaialble. Each slot also contains a subset of the reservation collections.

Inner Classes

Description

This class wraps the input parameters a list of reservation collections and a timeslot context.

Properties

A list of Reservation Collections you want to conflict check for each timeslot.

Definition of the shape and range of the timeslots.

Description

This class wraps the result, which contains a list of available timeslots.

Properties

A list of available timeslots. Each timeslot contains a list of ReservationCollections that would be available in that timeslot.

Example

This example shows how you can use the class in your own code.