The HolidayCalendar type exposes the following members.
Constructors
Name | Description | |
---|---|---|
HolidayCalendar |
Initializes a new instance of the HolidayCalendar class.
| |
HolidayCalendar(ICalendar) |
Initializes a new instance of the HolidayCalendar class.
|
Methods
Name | Description | |
---|---|---|
AddExcludedDate |
Add the given Date to the list of excluded days. Only the month, day and
year of the returned dates are significant.
| |
Equals(Object) | (Overrides Object Equals(Object).) | |
Equals(HolidayCalendar) | ||
Finalize | Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.) | |
GetBaseCalendar |
Get the base calendar. Will be null, if not set.
(Inherited from BaseCalendar.) | |
GetHashCode | (Overrides Object GetHashCode .) | |
GetNextIncludedTimeUtc |
Determine the next time (in milliseconds) that is 'included' by the
Calendar after the given time.
(Overrides BaseCalendar GetNextIncludedTimeUtc(DateTime).)Note that this Calendar is only has full-day precision. | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
IsTimeIncluded |
Determine whether the given time (in milliseconds) is 'included' by the
Calendar.
(Overrides BaseCalendar IsTimeIncluded(DateTime).)Note that this Calendar is only has full-day precision. | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
RemoveExcludedDate |
Removes the excluded date.
| |
ToString | (Inherited from Object.) |
Properties
Name | Description | |
---|---|---|
CalendarBase |
Set a new base calendar or remove the existing one
(Inherited from BaseCalendar.) | |
Description |
Gets or sets the description given to the ICalendar instance by
its creator (if any).
(Inherited from BaseCalendar.) | |
ExcludedDates |
Returns a ISortedSet of Dates representing the excluded
days. Only the month, day and year of the returned dates are
significant.
| |
TimeZone |
Gets or sets the time zone.
(Inherited from BaseCalendar.) |
See Also