Subtracts a specified time interval from a specified time of day, yielding a new time span.

Namespace:  DlhSoft.Windows.Data
Assembly:  DlhSoft.ProjectData.GanttChart.LightWPF.Controls (in DlhSoft.ProjectData.GanttChart.LightWPF.Controls.dll)

Syntax

C#
public static TimeSpan operator -(
	TimeOfDay d,
	TimeSpan t
)
Visual Basic (Declaration)
Public Shared Operator - ( _
	d As TimeOfDay, _
	t As TimeSpan _
) As TimeSpan

Parameters

d
Type: DlhSoft.Windows.Data..::.TimeOfDay
A TimeOfDay.
t
Type: System..::.TimeSpan
A TimeSpan.

Return Value

A TimeSpan that is the value of d minus the value of t.

See Also