DateRangeAsSingleDate Method
Returns a DateRange instance initialized with an end date equal to the start date.

C# Syntax

public static DateRange DateRangeAsSingleDate( 
   DateTime date
)

Parameters

date
The date that represents both the start and end date of the range.