- 
                Notifications
    
You must be signed in to change notification settings  - Fork 35
 
T_CodeJam_Dates_DateTimeRangeExtensions
        Andrew Koryavchenko edited this page Jun 17, 2018 
        ·
        3 revisions
      
    Helper methods for date manipulations
Helper methods for date manipulations
Helper methods for date manipulations
System.Object
  CodeJam.Dates.DateTimeRangeExtensions
Namespace: CodeJam.Dates
Assembly: CodeJam (in CodeJam.dll) Version: 2.1.0.0
C#
public static class DateTimeRangeExtensionsVB
<ExtensionAttribute>
Public NotInheritable Class DateTimeRangeExtensionsF#
[<AbstractClassAttribute>]
[<SealedAttribute>]
[<ExtensionAttribute>]
type DateTimeRangeExtensions =  class end
| Name | Description | |
|---|---|---|
![]()  
 | 
CountOfDays(Range(DateTime)) | Returns count of days between two dates. | 
![]()  
 | 
CountOfDays(Range(DateTimeOffset)) | Returns count of days between two dates. | 
![]()  
 | 
CountOfMonths(Range(DateTime)) | Returns count of month between two dates. | 
![]()  
 | 
CountOfMonths(Range(DateTimeOffset)) | Returns count of month between two dates. | 
![]()  
 | 
DaysBetween(Range(DateTime)) | Returns first days in range. | 
![]()  
 | 
DaysBetween(Range(DateTimeOffset)) | Returns first days in range. | 
![]()  
 | 
DifferenceInDays(Range(DateTime)) | Returns delta between two dates measured in days. | 
![]()  
 | 
DifferenceInDays(Range(DateTimeOffset)) | Returns delta between two dates measured in days. | 
![]()  
 | 
DifferenceInMonths(Range(DateTime)) | Returns delta between two dates measured in months. | 
![]()  
 | 
DifferenceInMonths(Range(DateTimeOffset)) | Returns delta between two dates measured in months. | 
![]()  
 | 
GetFromStartOfYearRange(DateTime) | Gets date range from start of the year to the current date. | 
![]()  
 | 
GetFromStartOfYearRange(DateTimeOffset) | Gets date range from start of the year to the current date. | 
![]()  
 | 
GetMonthRange(DateTime) | Returns date range for month. | 
![]()  
 | 
GetMonthRange(DateTimeOffset) | Returns date range for month. | 
![]()  
 | 
GetToEndOfYearRange(DateTime) | Gets date range from start of the year to the current date. | 
![]()  
 | 
GetToEndOfYearRange(DateTimeOffset) | Gets date range from start of the year to the current date. | 
![]()  
 | 
GetYearRange(DateTime) | Returns date range for year. | 
![]()  
 | 
GetYearRange(DateTimeOffset) | Returns date range for year. | 
![]()  
 | 
MakeExclusive(Range(DateTime)) | Replaces inclusive boundaries with exclusive ones. | 
![]()  
 | 
MakeExclusive(Range(DateTimeOffset)) | Replaces inclusive boundaries with exclusive ones. | 
![]()  
 | 
MakeInclusive(Range(DateTime)) | Replaces exclusive boundaries with inclusive ones. | 
![]()  
 | 
MakeInclusive(Range(DateTimeOffset)) | Replaces exclusive boundaries with inclusive ones. | 
![]()  
 | 
MonthsBetween(Range(DateTime)) | Returns first days of months in range. | 
![]()  
 | 
MonthsBetween(Range(DateTimeOffset)) | Returns first days of months in range. | 
![]()  
 | 
SplitByMonths(Range(DateTime)) | Splits the range by months. | 
![]()  
 | 
SplitByMonths(Range(DateTimeOffset)) | Splits the range by months. | 
![]()  
 | 
SplitByYears(Range(DateTime)) | Splits the range by years. | 
![]()  
 | 
SplitByYears(Range(DateTimeOffset)) | Splits the range by years. | 
![]()  
 | 
YearsBetween(Range(DateTime)) | Returns first days of years in range. | 
![]()  
 | 
YearsBetween(Range(DateTimeOffset)) | Returns first days of years in range. | 
