TimeInterval Class

Holds an interval’s start and end times. An instance of this class is used when capturing the start and end times of a scheduling horizon, during which a scheduling process runs. It considers scheduled jobs and is also used to represent the start and end times of an appointment slot or window.

FSL

TimeInterval contains the following properties.

The start time of the TimeInterval class.

public Datetime start {get; set;}

Type: Datetime

The end time of the TimeInterval class.

public Datetime finish {get; set;}

Type: Datetime

TimeInterval includes the following method.

Returns the start and end datetimes as a string.

public String toString()

Type: String