2.2.2.33 WeekOfMonth

The WeekOfMonth element is an optional child element of the Recurrence element (section 2.2.2.20) that specifies the week of the month for the task recurrence. It is defined as an element in the Tasks namespace.

The value of this element is an unsignedbyte data type, as specified in [MS-ASDTYPE] section 2.8.

A command request or response has a minimum of one WeekOfMonth child element per Recurrence element when the value of the Type element (section 2.2.2.29) is either 3 or 6.

A command request or response has a maximum of one WeekOfMonth child element per Recurrence element.

The value of the WeekOfMonth element MUST be between 1 and 5. A value of 5 designates the last week of the month.

The WeekOfMonth element MUST only be included in requests or responses when the Type element value is either 3 or 6. When a client’s request is issued with the WeekOfMonth element in other instances, the server responds with a status 6 error (conversion error).

Protocol Versions

The following table specifies the protocol versions that support this element. The client indicates the protocol version being used by setting either the MS-ASProtocolVersion header, as specified in [MS-ASHTTP] section 2.2.1.1.2.6, or the Protocol version field, as specified in [MS-ASHTTP] section 2.2.1.1.1.1, in the request.

Protocol version

Element support

2.5

Yes

12.0

Yes

12.1

Yes

14.0

Yes

14.1

Yes

16.0

Yes

16.1

Yes