[]
        
(Showing Draft Content)

C1.Win.Calendar.DateTimeRange.GetDateRange

GetDateRange Method

GetDateRange(Calendar)

Generates a sequence of dates between the MinValue and MaxValue dates, inclusive.

Declaration
public IEnumerable<DateTime> GetDateRange(Calendar calendar = null)
Public Function GetDateRange(Optional calendar As Calendar = Nothing) As IEnumerable(Of Date)
Parameters
Type Name Description
Calendar calendar

The calendar system used to iterate through the date range. If null, the current culture's calendar (CurrentCulture) is used.

Returns
Type Description
IEnumerable<DateTime>

An IEnumerable<T> containing each date from MinValue to MaxValue, inclusive.