2.2.1.44.1.6 PatternTypeSpecific MonthNth

For the MonthNth or HjMonthNth recurrence pattern (value of the PatternType field is 0x0003 or 0x000B, respectively), the structure of the PatternTypeSpecific field is as follows.


0


1


2


3


4


5


6


7


8


9

1
0


1


2


3


4


5


6


7


8


9

2
0


1


2


3


4


5


6


7


8


9

3
0


1

X

Sa

F

Th

W

Tu

M

Su

unused

N

X (1 bit):  This bit is not used. MUST be zero and MUST be ignored.

Sa (1 bit):  The event occurs on Saturday.

F (1 bit):  The event occurs on Friday.

Th (1 bit):  The event occurs on Thursday.

W (1 bit):  The event occurs on Wednesday.

Tu (1 bit):  The event occurs on Tuesday.

M (1 bit):  The event occurs on Monday.

Su (1 bit):  The event occurs on Sunday.

unused (3 bytes):  These bits are not used. MUST be zero and MUST be ignored.

Nth Weekday of month: (bits M, Tu, W, Th, F are set)

Nth Weekend of month: (bits Sa, Su are set)

N (4 bytes):  The occurrence of the recurrence's days in each month in which the recurrence falls. It MUST be equal to one of the values listed in the following table.

Name

Value

Meaning

First

0x00000001

The recurrence falls on the first occurrence of the days specified in every month.

Second

0x00000002

The recurrence falls on the second occurrence of the days specified in every month.

Third

0x00000003

The recurrence falls on the third occurrence of the days specified in every month.

Fourth

0x00000004

The recurrence falls on the fourth occurrence of the days specified in every month.

Last

0x00000005

The recurrence falls on the last occurrence of the days specified in every month.

For example:

§ If an event occurs on the last weekday of every two months, the two fields of the PatternTypeSpecific field are set to 0x0000003E and 0x00000005.

§ If an event occurs on the first weekday of every two months, the two fields of the PatternTypeSpecific field are set to 0x0000003E and 0x00000001.

§ If an event occurs on the last weekend of every month, the two fields of the PatternTypeSpecific field are set to 0x00000041and 0x00000005.

§ If an event occurs on the first weekend of every month, the two fields of the PatternTypeSpecific field are set to 0x00000041 and 0x00000001.

Show: