Method | Description | |
---|---|---|
GetDateInSortableDateTimeFormat ( this date ) : string |
Gets the given Date in sortable datetime format
|
|
IsHoliday ( this date ) : bool |
Determines if the given DateTime is a holiday or not.
|
|
IsWeekend ( this date ) : bool |
Determines if the given DateTime occurs on a weekend.
|
|
NearestWeekday ( this date ) : System.DateTime |
Gets the nearest weekday (Monday through Friday) for the given DateTime.
|
|
Next ( this date, DateTimeUnit unit, int count ) : IEnumerable |
||
Previous ( this date, DateTimeUnit unit, int count ) : IEnumerable |
public static GetDateInSortableDateTimeFormat ( this date ) : string | ||
date | this | |
return | string |
public static IsHoliday ( this date ) : bool | ||
date | this | The date to determine if it is a holiday. |
return | bool |
public static IsWeekend ( this date ) : bool | ||
date | this | The date to determine if it occurs on a weekend. |
return | bool |
public static NearestWeekday ( this date ) : System.DateTime | ||
date | this | The date on which to calculate the nearest weekday. |
return | System.DateTime |
public static Next ( this date, DateTimeUnit unit, int count ) : IEnumerable |
||
date | this | |
unit | DateTimeUnit | |
count | int | |
return | IEnumerable |
public static Previous ( this date, DateTimeUnit unit, int count ) : IEnumerable |
||
date | this | |
unit | DateTimeUnit | |
count | int | |
return | IEnumerable |