Метод | Описание | |
---|---|---|
GetEndOfBusinessWeek ( this dateWithinWeek, int weekendLength = 2, DayOfWeek endOfWeek = DayOfWeek.Sunday ) : System.DateTime |
Calculates date of last workday within the week
|
|
GetEndOfMonth ( this dayWithinMonth ) : System.DateTime |
Calculates date of last day of month
|
|
GetEndOfWeek ( this dateWithinWeek, DayOfWeek endOfWeek = DayOfWeek.Sunday ) : System.DateTime |
Calculates date of last day of week
|
|
GetStartOfBusinessWeek ( this dateWithinWeek, DayOfWeek startOfWeek = DayOfWeek.Monday ) : System.DateTime |
Calculates date of the first workday within the week
|
|
GetStartOfMonth ( this dayWithinMonth ) : System.DateTime |
Calculates date of the first day of month
|
|
GetStartOfWeek ( this dateWithinWeek, DayOfWeek startOfWeek = DayOfWeek.Monday ) : System.DateTime |
Calculates date of the first day of week
|
|
GetWeekNumber ( this dateWithinWeek ) : int |
Calculates week number
|
|
IsWeekend ( this date, int weekendLength = 2, DayOfWeek endOfWeek = DayOfWeek.Sunday ) : bool |
Defines if specified date is weekend
|
public static GetEndOfBusinessWeek ( this dateWithinWeek, int weekendLength = 2, DayOfWeek endOfWeek = DayOfWeek.Sunday ) : System.DateTime | ||
dateWithinWeek | this | |
weekendLength | int | |
endOfWeek | DayOfWeek | |
Результат | System.DateTime |
public static GetEndOfMonth ( this dayWithinMonth ) : System.DateTime | ||
dayWithinMonth | this | |
Результат | System.DateTime |
public static GetEndOfWeek ( this dateWithinWeek, DayOfWeek endOfWeek = DayOfWeek.Sunday ) : System.DateTime | ||
dateWithinWeek | this | |
endOfWeek | DayOfWeek | |
Результат | System.DateTime |
public static GetStartOfBusinessWeek ( this dateWithinWeek, DayOfWeek startOfWeek = DayOfWeek.Monday ) : System.DateTime | ||
dateWithinWeek | this | |
startOfWeek | DayOfWeek | |
Результат | System.DateTime |
public static GetStartOfMonth ( this dayWithinMonth ) : System.DateTime | ||
dayWithinMonth | this | |
Результат | System.DateTime |
public static GetStartOfWeek ( this dateWithinWeek, DayOfWeek startOfWeek = DayOfWeek.Monday ) : System.DateTime | ||
dateWithinWeek | this | |
startOfWeek | DayOfWeek | |
Результат | System.DateTime |
public static GetWeekNumber ( this dateWithinWeek ) : int | ||
dateWithinWeek | this | |
Результат | int |
public static IsWeekend ( this date, int weekendLength = 2, DayOfWeek endOfWeek = DayOfWeek.Sunday ) : bool | ||
date | this | |
weekendLength | int | |
endOfWeek | DayOfWeek | |
Результат | bool |