WeeksOfYear Property
Topic Last Modified: 2006-06-13
The weeks of the year spanned by the recurrence pattern. This property is read-only.
Applies To
Type Library
Microsoft CDO for Exchange 2000 Library
DLL Implemented In
CDOEX.DLL
Syntax
Property WeeksOfYear As IIntegers
HRESULT get_WeeksOfYear(IIntegers** pVal);
Remarks
This property is stored as an integer collection using the IIntegers Interface. Each integer in the collection identifies a week in the year spanned by the recurrence pattern. Possible values range from 1 to 53 or -53 to -1. A week is defined as a seven-day period starting on the day of the week as specified by the FirstDayOfWeek property of the IRecurrencePattern interface. For yearly recurrence pattern rules, the first week of the calendar year is the first week that contains at least four days in that calendar year.
Note
Assuming Monday is specified as the first day of the week, week 53 can only occur if January 1 is a Thursday, or if it is a leap year and January 1 is a Wednesday.