CalendarRuleExtentCode Class

Definition

Contains integer flags that are used for the CalendarRule.ExtentCode attribute.

public ref class CalendarRuleExtentCode abstract sealed
public static class CalendarRuleExtentCode
type CalendarRuleExtentCode = class
Public Class CalendarRuleExtentCode
Inheritance
CalendarRuleExtentCode

Remarks

The ExtentCode attribute defines how calendar rule overlap is handled during calendar rule expansion.

The following table shows the values for this class.

Member

Value

Description

Fields

SubtractRecurrenceIntervals

The recurrence duration determines the shadowing of that rule. Use this value to indicate working hours and a full day 24-hour shadow. Value = 1.

SubtractResults

Only the rule duration is shadowed. Use this value to indicate time off. For example, 4 hours of time off allow working hours to appear before and after. Value = 2.

Transparent

No shadowing of calendar rules. All rules are displayed even if they are shadowed or preceded by other rules. Value = 0.

Applies to