Method | Description | |
---|---|---|
Generate ( |
Applies the algorithm defined by the CalendarRule to calculate the date that a holiday falls in the given year using the given Calendar to avoid other non-business dates.
|
|
IsApplicable ( int year ) : bool |
Determines if the CalendarRule is applicable to the given year.
|
Method | Description | |
---|---|---|
CalendarRule ( string name, int from, int until ) : System |
Constructs a CalendarRule with a given name and applicable year range.
|
protected CalendarRule ( string name, int from, int until ) : System | ||
name | string | The name of the holiday. |
from | int | The first year in which the holiday occurs. |
until | int | The last year in which the holiday occurs. |
return | System |
public abstract Generate ( |
||
calendar | The |
|
year | int | The year to generate the holiday for. |
return | Date |
public IsApplicable ( int year ) : bool | ||
year | int | The year to be tested. |
return | bool |