-
Notifications
You must be signed in to change notification settings - Fork 35
Methods_T_CodeJam_Dates_DateTimeRangeExtensions
Andrew Koryavchenko edited this page Jul 4, 2017
·
2 revisions
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. |