Skip to main content

YearlyExceptionRule Members

Represents a rule that specifies an exception that reoccurs every year in a particular month and day of the month.

Constructors

Name Description
YearlyExceptionRule() Initializes a new YearlyExceptionRule class instance.

Properties

Name Description
DayOfMonth Gets the day of the month when the rule applies.
EndDate Gets or sets the date when a rule stops applying. Inherited from ExceptionRule.
Interval Gets or sets the rule recurrence interval. Inherited from ExceptionRule.
Month Gets or sets the month when the rule applies.
Occurrences Gets or sets a value that specifies how many times the rule is applied. Inherited from ExceptionRule.
StartDate Gets or sets the date when a rule is set to apply. Inherited from ExceptionRule.
WorkTimes Provides access to work intervals in the day’s schedule (for example, 9:00 to 12:00 and 13:00 to 18:00). Inherited from WorkTimesExceptionRule.

Methods

Name Description
Equals(Object, Object) static Determines whether the specified object instances are considered equal. Inherited from Object.
Equals(Object) Determines whether the specified object is equal to the current object. Inherited from Object.
GetHashCode() Serves as the default hash function. Inherited from Object.
GetType() Gets the Type of the current instance. Inherited from Object.
Includes(DateTime) Returns whether the rules includes the specified date. Inherited from BaseRule.
Includes(Int64) Returns whether the rules includes the specified date. Inherited from ExceptionRule.
MemberwiseClone() protected Creates a shallow copy of the current Object. Inherited from Object.
ReferenceEquals(Object, Object) static Determines whether the specified Object instances are the same instance. Inherited from Object.
ToString() Returns a string that represents the current object. Inherited from Object.
See Also