ICON Software Solutions
Icon.Dates.GetDate Method

Namespace:  Icon
Assembly:  Icon (in Icon.dll) Version: 2010.3.0.0 (2010.3.0.0)

Syntax

C#
public static DateTime GetDate(
	Dates..::.Period DateRange,
	Dates..::.Selected DateSelected
)
Visual Basic (Declaration)
Public Shared Function GetDate ( _
	DateRange As Dates..::.Period, _
	DateSelected As Dates..::.Selected _
) As DateTime
Visual C++
public:
static DateTime GetDate(
	Dates..::.Period DateRange, 
	Dates..::.Selected DateSelected
)
J#
public static DateTime GetDate(
	Dates..::.Period DateRange,
	Dates..::.Selected DateSelected
)

Parameters

DateRange
Type: Icon..::.Dates..::.Period
The Dates.Period enumeration denoting which date range to get.
DateSelected
Type: Icon..::.Dates..::.Selected
An enumeration denoting whether to get the Start Date or the End Date from the date range.

Return Value

A date for the specified date range.

Remarks

Use this method to get the start or end date of a specified date range.

See Also