Note: This release is in preview. Features described here don’t become generally available until the latest general availability date that Salesforce announces for this release. Before then, and where features are noted as beta, pilot, or developer preview, we can’t guarantee general availability within any particular time frame or at all. Make your purchase decisions only on the basis of generally available products and features.

UnavailableTimeslot Class

Use this class to pass the unavailable time slots to the lxscheduler.ServiceResourceSchedule class. Timezones that differ across operating hours are handled and results are always returned in UTC.

Namespace

LxScheduler

UnavailableTimeslot Constructors

The following are constructors for UnavailableTimeslot.

UnavailableTimeslot(timeMin, timeMax)

Creates an instance of lxscheduler.UnavailableTimeslot class.

Signature

public UnavailableTimeslot(Datetime timeMin, Datetime timeMax)

Parameters

  • timeMin:

    Type: Datetime

    Start time of an unavailable time slot.

  • timeMax:

    Type: Datetime

    End time of an unavailable time slot.

UnavailableTimeslot Properties

The following are properties for UnavailableTimeslot.

timeMax

End time of an unavailable time slot.

Signature

public Datetime timeMax {get; set;}

Property Value

Type: Datetime

timeMin

Start time of an unavailable time slot.

Signature

public Datetime timeMin {get; set;}

Property Value

Type: Datetime