The AnnualCalendar type exposes the following members.
Constructors
Name | Description | |
---|---|---|
AnnualCalendar |
Constructor
| |
AnnualCalendar(ICalendar) |
Constructor
| |
AnnualCalendar(SerializationInfo, StreamingContext) |
Serialization constructor.
|
Methods
Name | Description | |
---|---|---|
Clone | (Overrides BaseCalendar Clone .) | |
Equals(Object) | (Overrides Object Equals(Object).) | |
Equals(AnnualCalendar) | ||
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 UTC time (in milliseconds) that is 'included' by the
Calendar after the given time. Return the original value if timeStampUtc is
included. Return 0 if all days are excluded.
(Overrides BaseCalendar GetNextIncludedTimeUtc(DateTimeOffset).)Note that this Calendar is only has full-day precision. | |
GetObjectData | (Overrides BaseCalendar GetObjectData(SerializationInfo, StreamingContext).) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
IsDateTimeExcluded | ||
IsDayExcluded |
Return true, if day is defined to be exluded.
| |
IsTimeIncluded |
Determine whether the given UTC time (in milliseconds) is 'included' by the
Calendar.
(Overrides BaseCalendar IsTimeIncluded(DateTimeOffset).)Note that this Calendar is only has full-day precision. | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
SetDayExcluded |
Redefine a certain day to be excluded (true) or included (false).
| |
ToString | (Inherited from Object.) |
Properties
Name | Description | |
---|---|---|
CalendarBase |
Set a new base calendar or remove the existing one
(Inherited from BaseCalendar.) | |
DaysExcluded |
Get or the array which defines the exclude-value of each day of month.
Setting will redefine the array of days excluded. The array must of size greater or
equal 31.
| |
Description |
Gets or sets the description given to the ICalendar instance by
its creator (if any).
(Inherited from BaseCalendar.) | |
TimeZone |
Gets or sets the time zone.
(Inherited from BaseCalendar.) |
See Also