Метод | Описание | |
---|---|---|
DelegatedWeekend ( string name, WeekendDelegate function ) : System |
Constructs a DelegatedWeekend instance that will use the indicated WeekendDelegate to test dates.
|
|
IsWeekend ( Date date ) : bool |
Determines if the given Date falls on a weekend.
|
public DelegatedWeekend ( string name, WeekendDelegate function ) : System | ||
name | string | The name used to reference this instance. |
function | WeekendDelegate | A |
Результат | System |
public IsWeekend ( Date date ) : bool | ||
date | Date | The |
Результат | bool |