Skip to main content
A newer version of this page is available. .

TimeInterval.Subtract(TimeInterval) Method

Returns a time interval which is the subtraction of the specified time interval from the current time interval.

Namespace: DevExpress.XtraScheduler

Assembly: DevExpress.XtraScheduler.v19.1.Core.dll

Declaration

public TimeIntervalCollection Subtract(
    TimeInterval interval
)

Parameters

Name Type Description
interval TimeInterval

A TimeInterval object which represents the time interval to subtract.

Returns

Type Description
TimeIntervalCollection

A TimeIntervalCollection object representing the result of subtraction.

Remarks

The resulting collection will contain either one or two TimeInterval objects depending on the result of subtraction.

See Also