ComponentOne Scheduler for WinForms
GetPreviousDate Method

C1.Win.C1Schedule.4 Assembly > C1.C1Schedule Namespace > DateList Class : GetPreviousDate Method
An item to search for.
Returns the first item that is less than specified one.
Syntax
'Declaration
 
Public Function GetPreviousDate( _
   ByVal item As System.Date _
) As System.Date
public System.DateTime GetPreviousDate( 
   System.DateTime item
)

Parameters

item
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

Reference

DateList Class
DateList Members