9.2 Date Descriptors

A date-descriptor array appears next. Each entry in the array describes one day. The number of entries in the array is cDateDescriptors (described in the preceding section). Each element in the array consists of 12 bytes, in six 2-byte fields. The date-descriptor array has the following form:

unsigned    Date
int         fMarked
int         cAlarms
unsigned    FileBlockOffset
int         reserved
unsigned    reserved

Following are the members in the date-descriptor array:

Date

Specifies the date, in days past 1/1/1980.

fMarked

Specifies which mark(s) are set for the date: box = 128, parentheses = 256, circle = 512, cross = 1024, underscore = 2048.

cAlarms

Specifies the number of alarms set for the day.

FileBlockOffset

Specifies the file offset, in 64-byte blocks, to the day's information. Only the low 15 bits are used (the high bit will be zero). Thus, if this offset is 6, the day's information is stored at byte 6*64 in the file.

reserved

Reserved; must be 0xFFF.

reserved

Reserved; must be 0xFFF.