A newer version of this page is available. Switch to the current version.

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.2.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