Returns the first item that is less than specified one.

Namespace:  C1.C1Schedule
Assembly:  C1.Web.UI.Controls.2 (in C1.Web.UI.Controls.2.dll)

Syntax

C#
public DateTime GetPreviousDate(
	DateTime item
)
Visual Basic
Public Function GetPreviousDate ( _
	item As DateTime _
) As DateTime

Parameters

item
Type: System..::..DateTime
An item to search for.

Return Value

The first item that is less than specified one; or DateTime.MinValue if such item is not found.

See Also