Method | Description | |
---|---|---|
ForName ( string name ) : |
If a Calendar with the given name exists in the extent set then a reference to it is returned to the caller.
|
|
IsBusinessDay ( Date date ) : bool |
Determines if the Date provided falls on a business day in this Calendar (e.g. not a holiday or weekend).
|
|
ToString ( ) : string |
Produces a debugging string describing the instance.
|
Method | Description | |
---|---|---|
Calendar ( string name ) : System |
Constructs a Calendar instance with a given name.
|
|
ToDebug ( ) : string |
Produces a debugging string describing the state of the instance.
|
Method | Description | |
---|---|---|
Calendar ( ) : System |
Initialises the Calendar cache by parsing a standard set of definitions held in a XML file distributed with the toolkit.
|
|
ConvertMonth ( string name ) : int | ||
ConvertWeekday ( string name ) : int | ||
ConvertWhen ( string name ) : int | ||
ParseCalendars ( string uri ) : void |
Parses the XML data file indicated by the URI to extract default sets of calendars.
|
protected Calendar ( string name ) : System | ||
name | string | The reference name for the instance. |
return | System |
public static ForName ( string name ) : |
||
name | string | The required Calendar name. |
return |
public abstract IsBusinessDay ( Date date ) : bool | ||
date | Date | The |
return | bool |