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.

Namespace 

FSL

TimeInterval Properties 

TimeInterval contains the following properties.

start 

The start time of the TimeInterval class.

Signature 

public Datetime start {get; set;}

Property Value 

Type: Datetime

finish 

The end time of the TimeInterval class.

Signature 

public Datetime finish {get; set;}

Property Value 

Type: Datetime

TimeInterval Methods 

TimeInterval includes the following method.

toString() 

Returns the start and end datetimes as a string.

Signature 

public String toString()

Return Value 

Type: String