Share via


WeeksOfYear Property

WeeksOfYear Property

This content is no longer actively maintained. It is provided as is, for anyone who may still be using these technologies, with no warranties or claims of accuracy with regard to the most recent product version or service release.

The weeks of the year spanned by the recurrence pattern. This property is read-only.

Applies To

IRecurrencePattern Interface

Type Library

Microsoft CDO for Exchange 2000 Library

DLL Implemented In

CDOEX.DLL

Syntax

[Visual Basic]Property WeeksOfYear As IIntegers

[C++]HRESULT get_WeeksOfYear(IIntegers** pVal);

Parameters

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.

Send us your feedback about the Microsoft Exchange Server 2003 SDK.

Build: June 2007 (2007.618.1)

© 2003-2006 Microsoft Corporation. All rights reserved. Terms of use.