DateTimeCollectionHelper Class
Namespace: PTS
Assembly: PTS.Modules.DateTimeRangeComponent.dll
Static helper methods for DateTime
collection type.
Syntax
public static class DateTimeCollectionHelper
Inheritance
System.Object
DateTimeCollectionHelper
Methods
ToContiguousDays(ICollection<DateTime>)
Generates continuous date ranges for specified dates.
Declaration
public static List<DateTimeRange> ToContiguousDays(this ICollection<DateTime> dates)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.ICollection<System.DateTime> | dates | Dates to generate the continuous date ranges for. |
Returns
Type | Description |
---|---|
System.Collections.Generic.List<DateTimeRange> | Collection of continuous date ranges. |
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()