Skip to main content

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.v23.2.Core.dll

NuGet Package: DevExpress.Scheduler.Core

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