4.1.1.6 Yearly Hebrew Lunar Recurrence BLOB with Exceptions

The following example shows the binary recurrence data for an appointment that has the following characteristics:

  • Occurs every year on ג ניסן starting ג' ניסן תשס"ח from 8:00 A.M. to 8:30 A.M.

  • Change the busy status of the second instance to "tentative", make the reminder fire 60 minutes before the appointment, and change the body text.

The following is the recurrence BLOB for this recurrence.

 043004300D200200080080750A000C0000000000000003000000232000000A0000000000000001000000207EDC0C01000000207EDC0C6074C40CDF80E95A0630000009300000E0010000FE01000001000080DC0C1E80DC0C0080DC0C24023C000000010000000000000004000000000000000000000000000000

Size: 0x007A bytes

The content of the modified recurrence BLOB is in the following table.

Field name

Type

Size

Example

Description

ReaderVersion

WORD ([MS-DTYP])

2

04 30

This field indicates version 0x3004.

WriterVersion

WORD

2

04 30

This field indicates version 0x3004.

RecurFrequency

WORD

2

0D 20

The pattern of the recurrence is yearly.

PatternType

WORD

2

02 00

The pattern type is Month (0x0002).

CalendarType

WORD

2

08 00

The calendar type is CAL_HEBREW (0x0008).

FirstDateTime

ULONG ([MS-DTYP])

4

80 75 0A 00

The number of minutes offset from the reference date, January 1, 1601, is 685,440 (0x000A7580), which corresponds to the date of the first ever lunar month: April 22, 1602. See the calculation steps following this table.

Period

ULONG

4

0C 00 00 00

The recurrence occurs every 12 months.

SlidingFlag

ULONG

4

00 00 00 00

This field is only used for scheduling tasks. Otherwise the value can only be 0 (zero).

PatternTypeSpecific

BYTE array

Varies

03 00 00 00

The recurrence falls on the third day of the month (in the Hebrew lunar calendar).

EndType

ULONG

4

23 20 00 00

Never ends. (0x00002023).

OccurrenceCount

ULONG

4

0A 00 00 00

Not used.

FirstDOW

ULONG

4

00 00 00 00

The first day of the week on the calendar is Sunday (the default value).

DeletedInstanceCount

ULONG

4

01 00 00 00

There is one deleted instance.

DeletedInstanceDate

ULONG

4

20 7E DC 0C

The date of the deleted instance is 4/7/2011.

ModifiedInstanceCount

ULONG

4

01 00 00 00

There is one modified instance.

ModifiedInstanceDate

ULONG

4

20 7E DC 0C

The date of the modified instance is 4/7/2011.

StartDate

ULONG

4

60 74 C4 0C

The start date of the recurrence is 4/8/2008.

EndDate

ULONG

4

DF 80 E9 5A

The end date of the recurrence is never. (12/31/4500).

ReaderVersion2

ULONG

4

06 30 00 00

This field indicates version 0x00003006.

WriterVersion2

ULONG

4

09 30 00 00

This field indicates version 0x00003009.

StartTimeOffset

ULONG

4

E0 01 00 00

The appointment's start time is 480 minutes past midnight, or 8:00 A.M.

EndTimeOffset

ULONG

4

FE 01 00 00

The appointment's end time is 510 minutes past midnight, or 8:30 A.M.

ExceptionCount

WORD

2

01 00

One exception.

ExceptionInfo structure block:

StartDateTime

ULONG

4

00 80 DC 0C

The start date and time of the exception is 4/7/2011 8:00 A.M.

EndDateTime

ULONG

4

1E 80 DC 0C

The end date and time of the exception is 4/7/2011 at 8:30 A.M.

OriginalStartTime

ULONG

4

00 80 DC 0C

The original start date and time of the occurrence was 4/7/2011 at 8:00 A.M.

OverrideFlags

WORD

2

24 02

A value of 0x0224 indicates that the following flags are set to 1 in this property: ARO_BUSYSTATUS | ARO_REMINDERDELTA | ARO_EXCEPTIONAL_BODY

ReminderDelta

ULONG

4

3C 00 00 00

The exception's value for the PidLidReminderDelta property ([MS-OXORMDR] section 2.2.1.3) is 60 (0x0000003C).

BusyStatus

ULONG

4

01 00 00 00

The exception's value for the PidLidBusyStatus property (section 2.2.1.2) is 1.

ReservedBlock1Size

ULONG

4

00 00 00 00

There is no data in this skip block.

ExtendedException structure block:

ChangeHighlight

BYTE array

Varies

04 00 00 00

00 00 00 00

The size of the ChangeHighlight field is 4. The value of the PidLidChangeHighlight property (section 2.2.6.2) is zero for this exception.

ReservedBlockEE1Size

ULONG

4

00 00 00 00

There is no data in this skip block.

ReservedBlock2Size

ULONG

4

00 00 00 00

There is no data in this skip block.

The steps for calculating the value of the FirstDateTime field for a yearly recurrence, as specified in section 2.2.1.44.1.1, are applied to this example as follows with adjustments made for the Hebrew lunar calendar:

  1. The first day of the month that contains the start date: April 6, 2008 (in Gregorian calendar)

  2. The number of calendar months between midnight of April 6, 2008, and midnight, September 27, 1601, of the Gregorian calendar: 4879

  3. The offset of Hebrew lunar months: 4879 % 12 = 7

  4. The date of the first recurrence nearest September 27, 1601, of the Gregorian calendar: Add 7 months to the date September 27, 1601, to get the date April 22, 1602.

  5. The number of minutes between midnight, April 22, 1602, and midnight, January 1, 1601: 685,440 (0x000A7580)