Method | Description | |
---|---|---|
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 |
return | System |