4.3 Calculating the PidTagScheduleInfoMonthsBusy Property

The PidTagScheduleInfoMonthsBusy property (section 2.2.1.2.3) is calculated by using the following equations:

  1. (Year × 16) + month

  2. Convert result of equation 1 to hexadecimal

Consider the following example:

The free/busy range is three months from the time of publishing. The time of publishing is 12:00 A.M. on February 25, UTC. There is at least one calendar item with a free/busy status of busy in the months of February, March, and April.

Therefore, data in the months of February, March, April, and May will be published. More specifically:

  • February 25, 12:00 A.M., to February 29, 11:59 P.M.

  • March 1, 12:00 A.M., to March 31, 11:59 P.M.

  • April 1, 12:00 A.M., to April 30, 11:59 P.M.

  • May 1, 12:00 A.M., to May 25, 12:00 A.M.

All of the times in this example are in UTC. The property value is determined by using the following calculations.

For February

Year = 2008

Month = February = 2

(2008 * 16) + 2 = 32130

32120 converted to hexadecimal = 7D82

For March

Year = 2008

Month = March = 3

(2008 * 16) + 3 = 32131

32131 converted to hexadecimal = 7D83

For April

Year = 2008

Month = April = 4

(2008 * 16) + 4 = 32132

32132 converted to hexadecimal = 7D84

The PtypMultipleInteger32 will have the following three 4-byte values: 0x00007D82, 0x00007D83, and 0x00007D84. Because the month of May had no events, there will not be a value that represents May. Otherwise, there would have been four values.

If the month of March, for example, did not have any calendar items with a free/busy status of busy, there would be only two values.

Show: