- 
                Notifications
    
You must be signed in to change notification settings  - Fork 35
 
T_CodeJam_Dates_DateTimeExtensions
        Andrew Koryavchenko edited this page Jul 4, 2017 
        ·
        3 revisions
      
    Helper methods for date manipulations
Helper methods for date manipulations
Helper methods for date manipulations
System.Object
  CodeJam.Dates.DateTimeExtensions
Namespace: CodeJam.Dates
Assembly: CodeJam (in CodeJam.dll) Version: 1.1.0.0 (1.1.0.0)
C#
public static class DateTimeExtensionsVB
<ExtensionAttribute>
Public NotInheritable Class DateTimeExtensionsF#
[<AbstractClassAttribute>]
[<SealedAttribute>]
[<ExtensionAttribute>]
type DateTimeExtensions =  class end
| Name | Description | |
|---|---|---|
![]()  
 | 
AddMonths(DateTime, Int32, Boolean) | Returns the date resulting from adding the given number of months to this date. | 
![]()  
 | 
AddMonths(DateTimeOffset, Int32, Boolean) | Returns the date resulting from adding the given number of months to this date. | 
![]()  
 | 
AddYears(DateTime, Int32, Boolean) | Returns the date resulting from adding the given number of years to this date. | 
![]()  
 | 
AddYears(DateTimeOffset, Int32, Boolean) | Returns the date resulting from adding the given number of years to this date. | 
![]()  
 | 
DaysInMonth(DateTime) | Returns count of days in month. | 
![]()  
 | 
DaysInMonth(DateTimeOffset) | Returns count of days in month. | 
![]()  
 | 
DaysInYear(DateTime) | Returns count of days in year. | 
![]()  
 | 
DaysInYear(DateTimeOffset) | Returns count of days in year. | 
![]()  
 | 
FirstDayOfMonth(DateTime) | Returns the first day of month. | 
![]()  
 | 
FirstDayOfMonth(DateTimeOffset) | Returns the first day of month. | 
![]()  
 | 
FirstDayOfYear(DateTime) | Returns the first day of year. | 
![]()  
 | 
FirstDayOfYear(DateTimeOffset) | Returns the first day of year. | 
![]()  
 | 
LastDayOfMonth(DateTime) | Returns the last day of month. | 
![]()  
 | 
LastDayOfMonth(DateTimeOffset) | Returns the last day of month. | 
![]()  
 | 
LastDayOfYear(DateTime) | Returns the last day of year. | 
![]()  
 | 
LastDayOfYear(DateTimeOffset) | Returns the last day of year. | 
![]()  
 | 
NextDay(DateTime) | Returns next day of the date. | 
![]()  
 | 
NextDay(DateTimeOffset) | Returns next day of the date. | 
![]()  
 | 
NextMonth(DateTime) | Returns next month of the date. | 
![]()  
 | 
NextMonth(DateTimeOffset) | Returns next month of the date. | 
![]()  
 | 
NextYear(DateTime) | Returns next year of the date. | 
![]()  
 | 
NextYear(DateTimeOffset) | Returns next year of the date. | 
![]()  
 | 
PrevDay(DateTime) | Returns previous day of the date. | 
![]()  
 | 
PrevDay(DateTimeOffset) | Returns previous day of the date. | 
![]()  
 | 
PrevMonth(DateTime) | Returns previous month of the date. | 
![]()  
 | 
PrevMonth(DateTimeOffset) | Returns previous month of the date. | 
![]()  
 | 
PrevYear(DateTime) | Returns previous year of the date. | 
![]()  
 | 
PrevYear(DateTimeOffset) | Returns previous year of the date. | 
![]()  
 | 
WithDay(DateTime, Int32) | Updates the day of the date. | 
![]()  
 | 
WithDay(DateTimeOffset, Int32) | Updates the day of the date. | 
![]()  
 | 
WithMonth(DateTime, Int32) | Updates the month of the date. | 
![]()  
 | 
WithMonth(DateTimeOffset, Int32) | Updates the month of the date. | 
![]()  
 | 
WithMonth(DateTime, Int32, Boolean) | Updates the month of the date. | 
![]()  
 | 
WithMonth(DateTimeOffset, Int32, Boolean) | Updates the month of the date. | 
![]()  
 | 
WithMonthAndDay(DateTime, Int32, Int32) | Updates the month and the day of the date. | 
![]()  
 | 
WithMonthAndDay(DateTimeOffset, Int32, Int32) | Updates the month and the day of the date. | 
![]()  
 | 
WithMonthAndDay(DateTime, Int32, Int32, Boolean) | Updates the month and the day of the date. | 
![]()  
 | 
WithMonthAndDay(DateTimeOffset, Int32, Int32, Boolean) | Updates the month and the day of the date. | 
![]()  
 | 
WithYear(DateTime, Int32) | Updates the year of the date. | 
![]()  
 | 
WithYear(DateTimeOffset, Int32) | Updates the year of the date. | 
![]()  
 | 
WithYear(DateTime, Int32, Boolean) | Updates the year of the date. | 
![]()  
 | 
WithYear(DateTimeOffset, Int32, Boolean) | Updates the year of the date. | 
![]()  
 | 
WithYearAndMonth(DateTime, Int32, Int32) | Updates the year and the month of the date. | 
![]()  
 | 
WithYearAndMonth(DateTimeOffset, Int32, Int32) | Updates the year and the month of the date. | 
![]()  
 | 
WithYearAndMonth(DateTime, Int32, Int32, Boolean) | Updates the month and the year of the date. | 
![]()  
 | 
WithYearAndMonth(DateTimeOffset, Int32, Int32, Boolean) | Updates the month and the year of the date. | 
